This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.awsconnector.getCloudTrailTrail
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Get a CloudTrailTrail Azure REST API version: 2024-12-01.
Using getCloudTrailTrail
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCloudTrailTrail(args: GetCloudTrailTrailArgs, opts?: InvokeOptions): Promise<GetCloudTrailTrailResult>
function getCloudTrailTrailOutput(args: GetCloudTrailTrailOutputArgs, opts?: InvokeOptions): Output<GetCloudTrailTrailResult>def get_cloud_trail_trail(name: Optional[str] = None,
                          resource_group_name: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetCloudTrailTrailResult
def get_cloud_trail_trail_output(name: Optional[pulumi.Input[str]] = None,
                          resource_group_name: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetCloudTrailTrailResult]func LookupCloudTrailTrail(ctx *Context, args *LookupCloudTrailTrailArgs, opts ...InvokeOption) (*LookupCloudTrailTrailResult, error)
func LookupCloudTrailTrailOutput(ctx *Context, args *LookupCloudTrailTrailOutputArgs, opts ...InvokeOption) LookupCloudTrailTrailResultOutput> Note: This function is named LookupCloudTrailTrail in the Go SDK.
public static class GetCloudTrailTrail 
{
    public static Task<GetCloudTrailTrailResult> InvokeAsync(GetCloudTrailTrailArgs args, InvokeOptions? opts = null)
    public static Output<GetCloudTrailTrailResult> Invoke(GetCloudTrailTrailInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCloudTrailTrailResult> getCloudTrailTrail(GetCloudTrailTrailArgs args, InvokeOptions options)
public static Output<GetCloudTrailTrailResult> getCloudTrailTrail(GetCloudTrailTrailArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:awsconnector:getCloudTrailTrail
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
- Name of CloudTrailTrail
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- Name string
- Name of CloudTrailTrail
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- name String
- Name of CloudTrailTrail
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- name string
- Name of CloudTrailTrail
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- name str
- Name of CloudTrailTrail
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- name String
- Name of CloudTrailTrail
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
getCloudTrailTrail Result
The following output properties are available:
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Properties
Pulumi.Azure Native. Aws Connector. Outputs. Cloud Trail Trail Properties Response 
- The resource-specific properties for this resource.
- SystemData Pulumi.Azure Native. Aws Connector. Outputs. System Data Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Dictionary<string, string>
- Resource tags.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Properties
CloudTrail Trail Properties Response 
- The resource-specific properties for this resource.
- SystemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- map[string]string
- Resource tags.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- properties
CloudTrail Trail Properties Response 
- The resource-specific properties for this resource.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Map<String,String>
- Resource tags.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- properties
CloudTrail Trail Properties Response 
- The resource-specific properties for this resource.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- {[key: string]: string}
- Resource tags.
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- properties
CloudTrail Trail Properties Response 
- The resource-specific properties for this resource.
- system_data SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Mapping[str, str]
- Resource tags.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- properties Property Map
- The resource-specific properties for this resource.
- systemData Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Map<String>
- Resource tags.
Supporting Types
AdvancedEventSelectorResponse   
- FieldSelectors List<Pulumi.Azure Native. Aws Connector. Inputs. Advanced Field Selector Response> 
- Contains all selector statements in an advanced event selector.
- Name string
- An optional, descriptive name for an advanced event selector, such as 'Log data events for only two S3 buckets'.
- FieldSelectors []AdvancedField Selector Response 
- Contains all selector statements in an advanced event selector.
- Name string
- An optional, descriptive name for an advanced event selector, such as 'Log data events for only two S3 buckets'.
- fieldSelectors List<AdvancedField Selector Response> 
- Contains all selector statements in an advanced event selector.
- name String
- An optional, descriptive name for an advanced event selector, such as 'Log data events for only two S3 buckets'.
- fieldSelectors AdvancedField Selector Response[] 
- Contains all selector statements in an advanced event selector.
- name string
- An optional, descriptive name for an advanced event selector, such as 'Log data events for only two S3 buckets'.
- field_selectors Sequence[AdvancedField Selector Response] 
- Contains all selector statements in an advanced event selector.
- name str
- An optional, descriptive name for an advanced event selector, such as 'Log data events for only two S3 buckets'.
- fieldSelectors List<Property Map>
- Contains all selector statements in an advanced event selector.
- name String
- An optional, descriptive name for an advanced event selector, such as 'Log data events for only two S3 buckets'.
AdvancedFieldSelectorResponse   
- EndsWith List<string>
- An operator that includes events that match the last few characters of the event record field specified as the value of Field.
- Equals List<string>
- An operator that includes events that match the exact value of the event record field specified as the value of Field. This is the only valid operator that you can use with the readOnly, eventCategory, and resources.type fields.
- Field string
- A field in an event record on which to filter events to be logged. Supported fields include readOnly, eventCategory, eventSource (for management events), eventName, resources.type, and resources.ARN.
- NotEnds List<string>With 
- An operator that excludes events that match the last few characters of the event record field specified as the value of Field.
- NotEquals List<string>
- An operator that excludes events that match the exact value of the event record field specified as the value of Field.
- NotStarts List<string>With 
- An operator that excludes events that match the first few characters of the event record field specified as the value of Field.
- StartsWith List<string>
- An operator that includes events that match the first few characters of the event record field specified as the value of Field.
- EndsWith []string
- An operator that includes events that match the last few characters of the event record field specified as the value of Field.
- Equals []string
- An operator that includes events that match the exact value of the event record field specified as the value of Field. This is the only valid operator that you can use with the readOnly, eventCategory, and resources.type fields.
- Field string
- A field in an event record on which to filter events to be logged. Supported fields include readOnly, eventCategory, eventSource (for management events), eventName, resources.type, and resources.ARN.
- NotEnds []stringWith 
- An operator that excludes events that match the last few characters of the event record field specified as the value of Field.
- NotEquals []string
- An operator that excludes events that match the exact value of the event record field specified as the value of Field.
- NotStarts []stringWith 
- An operator that excludes events that match the first few characters of the event record field specified as the value of Field.
- StartsWith []string
- An operator that includes events that match the first few characters of the event record field specified as the value of Field.
- endsWith List<String>
- An operator that includes events that match the last few characters of the event record field specified as the value of Field.
- equals_ List<String>
- An operator that includes events that match the exact value of the event record field specified as the value of Field. This is the only valid operator that you can use with the readOnly, eventCategory, and resources.type fields.
- field String
- A field in an event record on which to filter events to be logged. Supported fields include readOnly, eventCategory, eventSource (for management events), eventName, resources.type, and resources.ARN.
- notEnds List<String>With 
- An operator that excludes events that match the last few characters of the event record field specified as the value of Field.
- notEquals List<String>
- An operator that excludes events that match the exact value of the event record field specified as the value of Field.
- notStarts List<String>With 
- An operator that excludes events that match the first few characters of the event record field specified as the value of Field.
- startsWith List<String>
- An operator that includes events that match the first few characters of the event record field specified as the value of Field.
- endsWith string[]
- An operator that includes events that match the last few characters of the event record field specified as the value of Field.
- equals string[]
- An operator that includes events that match the exact value of the event record field specified as the value of Field. This is the only valid operator that you can use with the readOnly, eventCategory, and resources.type fields.
- field string
- A field in an event record on which to filter events to be logged. Supported fields include readOnly, eventCategory, eventSource (for management events), eventName, resources.type, and resources.ARN.
- notEnds string[]With 
- An operator that excludes events that match the last few characters of the event record field specified as the value of Field.
- notEquals string[]
- An operator that excludes events that match the exact value of the event record field specified as the value of Field.
- notStarts string[]With 
- An operator that excludes events that match the first few characters of the event record field specified as the value of Field.
- startsWith string[]
- An operator that includes events that match the first few characters of the event record field specified as the value of Field.
- ends_with Sequence[str]
- An operator that includes events that match the last few characters of the event record field specified as the value of Field.
- equals Sequence[str]
- An operator that includes events that match the exact value of the event record field specified as the value of Field. This is the only valid operator that you can use with the readOnly, eventCategory, and resources.type fields.
- field str
- A field in an event record on which to filter events to be logged. Supported fields include readOnly, eventCategory, eventSource (for management events), eventName, resources.type, and resources.ARN.
- not_ends_ Sequence[str]with 
- An operator that excludes events that match the last few characters of the event record field specified as the value of Field.
- not_equals Sequence[str]
- An operator that excludes events that match the exact value of the event record field specified as the value of Field.
- not_starts_ Sequence[str]with 
- An operator that excludes events that match the first few characters of the event record field specified as the value of Field.
- starts_with Sequence[str]
- An operator that includes events that match the first few characters of the event record field specified as the value of Field.
- endsWith List<String>
- An operator that includes events that match the last few characters of the event record field specified as the value of Field.
- equals List<String>
- An operator that includes events that match the exact value of the event record field specified as the value of Field. This is the only valid operator that you can use with the readOnly, eventCategory, and resources.type fields.
- field String
- A field in an event record on which to filter events to be logged. Supported fields include readOnly, eventCategory, eventSource (for management events), eventName, resources.type, and resources.ARN.
- notEnds List<String>With 
- An operator that excludes events that match the last few characters of the event record field specified as the value of Field.
- notEquals List<String>
- An operator that excludes events that match the exact value of the event record field specified as the value of Field.
- notStarts List<String>With 
- An operator that excludes events that match the first few characters of the event record field specified as the value of Field.
- startsWith List<String>
- An operator that includes events that match the first few characters of the event record field specified as the value of Field.
AwsCloudTrailTrailPropertiesResponse     
- AdvancedEvent List<Pulumi.Selectors Azure Native. Aws Connector. Inputs. Advanced Event Selector Response> 
- The advanced event selectors that were used to select events for the data store.
- Arn string
- Property arn
- CloudWatch stringLogs Log Group Arn 
- Specifies a log group name using an Amazon Resource Name (ARN), a unique identifier that represents the log group to which CloudTrail logs will be delivered. Not required unless you specify CloudWatchLogsRoleArn.
- CloudWatch stringLogs Role Arn 
- Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.
- EnableLog boolFile Validation 
- Specifies whether log file validation is enabled. The default is false.
- EventSelectors List<Pulumi.Azure Native. Aws Connector. Inputs. Event Selector Response> 
- Use event selectors to further specify the management and data event settings for your trail. By default, trails created without specific event selectors will be configured to log all read and write management events, and no data events. When an event occurs in your account, CloudTrail evaluates the event selector for all trails. For each trail, if the event matches any event selector, the trail processes and logs the event. If the event doesn't match any event selector, the trail doesn't log the event. You can configure up to five event selectors for a trail.
- IncludeGlobal boolService Events 
- Specifies whether the trail is publishing events from global services such as IAM to the log files.
- InsightSelectors List<Pulumi.Azure Native. Aws Connector. Inputs. Insight Selector Response> 
- Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an existing trail.
- IsLogging bool
- Whether the CloudTrail is currently logging AWS API calls.
- IsMulti boolRegion Trail 
- Specifies whether the trail applies only to the current region or to all regions. The default is false. If the trail exists only in the current region and this value is set to true, shadow trails (replications of the trail) will be created in the other regions. If the trail exists in all regions and this value is set to false, the trail will remain in the region where it was created, and its shadow trails in other regions will be deleted. As a best practice, consider using trails that log events in all regions.
- IsOrganization boolTrail 
- Specifies whether the trail is created for all accounts in an organization in AWS Organizations, or only for the current AWS account. The default is false, and cannot be true unless the call is made on behalf of an AWS account that is the master account for an organization in AWS Organizations.
- KmsKey stringId 
- Specifies the KMS key ID to use to encrypt the logs delivered by CloudTrail. The value can be an alias name prefixed by 'alias/', a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier.
- S3BucketName string
- Specifies the name of the Amazon S3 bucket designated for publishing log files. See Amazon S3 Bucket Naming Requirements.
- S3KeyPrefix string
- Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see Finding Your CloudTrail Log Files. The maximum length is 200 characters.
- SnsTopic stringArn 
- Property snsTopicArn
- SnsTopic stringName 
- Specifies the name of the Amazon SNS topic defined for notification of log file delivery. The maximum length is 256 characters.
- 
List<Pulumi.Azure Native. Aws Connector. Inputs. Tag Response> 
- Property tags
- TrailName string
- Property trailName
- AdvancedEvent []AdvancedSelectors Event Selector Response 
- The advanced event selectors that were used to select events for the data store.
- Arn string
- Property arn
- CloudWatch stringLogs Log Group Arn 
- Specifies a log group name using an Amazon Resource Name (ARN), a unique identifier that represents the log group to which CloudTrail logs will be delivered. Not required unless you specify CloudWatchLogsRoleArn.
- CloudWatch stringLogs Role Arn 
- Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.
- EnableLog boolFile Validation 
- Specifies whether log file validation is enabled. The default is false.
- EventSelectors []EventSelector Response 
- Use event selectors to further specify the management and data event settings for your trail. By default, trails created without specific event selectors will be configured to log all read and write management events, and no data events. When an event occurs in your account, CloudTrail evaluates the event selector for all trails. For each trail, if the event matches any event selector, the trail processes and logs the event. If the event doesn't match any event selector, the trail doesn't log the event. You can configure up to five event selectors for a trail.
- IncludeGlobal boolService Events 
- Specifies whether the trail is publishing events from global services such as IAM to the log files.
- InsightSelectors []InsightSelector Response 
- Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an existing trail.
- IsLogging bool
- Whether the CloudTrail is currently logging AWS API calls.
- IsMulti boolRegion Trail 
- Specifies whether the trail applies only to the current region or to all regions. The default is false. If the trail exists only in the current region and this value is set to true, shadow trails (replications of the trail) will be created in the other regions. If the trail exists in all regions and this value is set to false, the trail will remain in the region where it was created, and its shadow trails in other regions will be deleted. As a best practice, consider using trails that log events in all regions.
- IsOrganization boolTrail 
- Specifies whether the trail is created for all accounts in an organization in AWS Organizations, or only for the current AWS account. The default is false, and cannot be true unless the call is made on behalf of an AWS account that is the master account for an organization in AWS Organizations.
- KmsKey stringId 
- Specifies the KMS key ID to use to encrypt the logs delivered by CloudTrail. The value can be an alias name prefixed by 'alias/', a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier.
- S3BucketName string
- Specifies the name of the Amazon S3 bucket designated for publishing log files. See Amazon S3 Bucket Naming Requirements.
- S3KeyPrefix string
- Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see Finding Your CloudTrail Log Files. The maximum length is 200 characters.
- SnsTopic stringArn 
- Property snsTopicArn
- SnsTopic stringName 
- Specifies the name of the Amazon SNS topic defined for notification of log file delivery. The maximum length is 256 characters.
- 
[]TagResponse 
- Property tags
- TrailName string
- Property trailName
- advancedEvent List<AdvancedSelectors Event Selector Response> 
- The advanced event selectors that were used to select events for the data store.
- arn String
- Property arn
- cloudWatch StringLogs Log Group Arn 
- Specifies a log group name using an Amazon Resource Name (ARN), a unique identifier that represents the log group to which CloudTrail logs will be delivered. Not required unless you specify CloudWatchLogsRoleArn.
- cloudWatch StringLogs Role Arn 
- Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.
- enableLog BooleanFile Validation 
- Specifies whether log file validation is enabled. The default is false.
- eventSelectors List<EventSelector Response> 
- Use event selectors to further specify the management and data event settings for your trail. By default, trails created without specific event selectors will be configured to log all read and write management events, and no data events. When an event occurs in your account, CloudTrail evaluates the event selector for all trails. For each trail, if the event matches any event selector, the trail processes and logs the event. If the event doesn't match any event selector, the trail doesn't log the event. You can configure up to five event selectors for a trail.
- includeGlobal BooleanService Events 
- Specifies whether the trail is publishing events from global services such as IAM to the log files.
- insightSelectors List<InsightSelector Response> 
- Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an existing trail.
- isLogging Boolean
- Whether the CloudTrail is currently logging AWS API calls.
- isMulti BooleanRegion Trail 
- Specifies whether the trail applies only to the current region or to all regions. The default is false. If the trail exists only in the current region and this value is set to true, shadow trails (replications of the trail) will be created in the other regions. If the trail exists in all regions and this value is set to false, the trail will remain in the region where it was created, and its shadow trails in other regions will be deleted. As a best practice, consider using trails that log events in all regions.
- isOrganization BooleanTrail 
- Specifies whether the trail is created for all accounts in an organization in AWS Organizations, or only for the current AWS account. The default is false, and cannot be true unless the call is made on behalf of an AWS account that is the master account for an organization in AWS Organizations.
- kmsKey StringId 
- Specifies the KMS key ID to use to encrypt the logs delivered by CloudTrail. The value can be an alias name prefixed by 'alias/', a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier.
- s3BucketName String
- Specifies the name of the Amazon S3 bucket designated for publishing log files. See Amazon S3 Bucket Naming Requirements.
- s3KeyPrefix String
- Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see Finding Your CloudTrail Log Files. The maximum length is 200 characters.
- snsTopic StringArn 
- Property snsTopicArn
- snsTopic StringName 
- Specifies the name of the Amazon SNS topic defined for notification of log file delivery. The maximum length is 256 characters.
- 
List<TagResponse> 
- Property tags
- trailName String
- Property trailName
- advancedEvent AdvancedSelectors Event Selector Response[] 
- The advanced event selectors that were used to select events for the data store.
- arn string
- Property arn
- cloudWatch stringLogs Log Group Arn 
- Specifies a log group name using an Amazon Resource Name (ARN), a unique identifier that represents the log group to which CloudTrail logs will be delivered. Not required unless you specify CloudWatchLogsRoleArn.
- cloudWatch stringLogs Role Arn 
- Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.
- enableLog booleanFile Validation 
- Specifies whether log file validation is enabled. The default is false.
- eventSelectors EventSelector Response[] 
- Use event selectors to further specify the management and data event settings for your trail. By default, trails created without specific event selectors will be configured to log all read and write management events, and no data events. When an event occurs in your account, CloudTrail evaluates the event selector for all trails. For each trail, if the event matches any event selector, the trail processes and logs the event. If the event doesn't match any event selector, the trail doesn't log the event. You can configure up to five event selectors for a trail.
- includeGlobal booleanService Events 
- Specifies whether the trail is publishing events from global services such as IAM to the log files.
- insightSelectors InsightSelector Response[] 
- Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an existing trail.
- isLogging boolean
- Whether the CloudTrail is currently logging AWS API calls.
- isMulti booleanRegion Trail 
- Specifies whether the trail applies only to the current region or to all regions. The default is false. If the trail exists only in the current region and this value is set to true, shadow trails (replications of the trail) will be created in the other regions. If the trail exists in all regions and this value is set to false, the trail will remain in the region where it was created, and its shadow trails in other regions will be deleted. As a best practice, consider using trails that log events in all regions.
- isOrganization booleanTrail 
- Specifies whether the trail is created for all accounts in an organization in AWS Organizations, or only for the current AWS account. The default is false, and cannot be true unless the call is made on behalf of an AWS account that is the master account for an organization in AWS Organizations.
- kmsKey stringId 
- Specifies the KMS key ID to use to encrypt the logs delivered by CloudTrail. The value can be an alias name prefixed by 'alias/', a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier.
- s3BucketName string
- Specifies the name of the Amazon S3 bucket designated for publishing log files. See Amazon S3 Bucket Naming Requirements.
- s3KeyPrefix string
- Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see Finding Your CloudTrail Log Files. The maximum length is 200 characters.
- snsTopic stringArn 
- Property snsTopicArn
- snsTopic stringName 
- Specifies the name of the Amazon SNS topic defined for notification of log file delivery. The maximum length is 256 characters.
- 
TagResponse[] 
- Property tags
- trailName string
- Property trailName
- advanced_event_ Sequence[Advancedselectors Event Selector Response] 
- The advanced event selectors that were used to select events for the data store.
- arn str
- Property arn
- cloud_watch_ strlogs_ log_ group_ arn 
- Specifies a log group name using an Amazon Resource Name (ARN), a unique identifier that represents the log group to which CloudTrail logs will be delivered. Not required unless you specify CloudWatchLogsRoleArn.
- cloud_watch_ strlogs_ role_ arn 
- Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.
- enable_log_ boolfile_ validation 
- Specifies whether log file validation is enabled. The default is false.
- event_selectors Sequence[EventSelector Response] 
- Use event selectors to further specify the management and data event settings for your trail. By default, trails created without specific event selectors will be configured to log all read and write management events, and no data events. When an event occurs in your account, CloudTrail evaluates the event selector for all trails. For each trail, if the event matches any event selector, the trail processes and logs the event. If the event doesn't match any event selector, the trail doesn't log the event. You can configure up to five event selectors for a trail.
- include_global_ boolservice_ events 
- Specifies whether the trail is publishing events from global services such as IAM to the log files.
- insight_selectors Sequence[InsightSelector Response] 
- Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an existing trail.
- is_logging bool
- Whether the CloudTrail is currently logging AWS API calls.
- is_multi_ boolregion_ trail 
- Specifies whether the trail applies only to the current region or to all regions. The default is false. If the trail exists only in the current region and this value is set to true, shadow trails (replications of the trail) will be created in the other regions. If the trail exists in all regions and this value is set to false, the trail will remain in the region where it was created, and its shadow trails in other regions will be deleted. As a best practice, consider using trails that log events in all regions.
- is_organization_ booltrail 
- Specifies whether the trail is created for all accounts in an organization in AWS Organizations, or only for the current AWS account. The default is false, and cannot be true unless the call is made on behalf of an AWS account that is the master account for an organization in AWS Organizations.
- kms_key_ strid 
- Specifies the KMS key ID to use to encrypt the logs delivered by CloudTrail. The value can be an alias name prefixed by 'alias/', a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier.
- s3_bucket_ strname 
- Specifies the name of the Amazon S3 bucket designated for publishing log files. See Amazon S3 Bucket Naming Requirements.
- s3_key_ strprefix 
- Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see Finding Your CloudTrail Log Files. The maximum length is 200 characters.
- sns_topic_ strarn 
- Property snsTopicArn
- sns_topic_ strname 
- Specifies the name of the Amazon SNS topic defined for notification of log file delivery. The maximum length is 256 characters.
- 
Sequence[TagResponse] 
- Property tags
- trail_name str
- Property trailName
- advancedEvent List<Property Map>Selectors 
- The advanced event selectors that were used to select events for the data store.
- arn String
- Property arn
- cloudWatch StringLogs Log Group Arn 
- Specifies a log group name using an Amazon Resource Name (ARN), a unique identifier that represents the log group to which CloudTrail logs will be delivered. Not required unless you specify CloudWatchLogsRoleArn.
- cloudWatch StringLogs Role Arn 
- Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.
- enableLog BooleanFile Validation 
- Specifies whether log file validation is enabled. The default is false.
- eventSelectors List<Property Map>
- Use event selectors to further specify the management and data event settings for your trail. By default, trails created without specific event selectors will be configured to log all read and write management events, and no data events. When an event occurs in your account, CloudTrail evaluates the event selector for all trails. For each trail, if the event matches any event selector, the trail processes and logs the event. If the event doesn't match any event selector, the trail doesn't log the event. You can configure up to five event selectors for a trail.
- includeGlobal BooleanService Events 
- Specifies whether the trail is publishing events from global services such as IAM to the log files.
- insightSelectors List<Property Map>
- Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an existing trail.
- isLogging Boolean
- Whether the CloudTrail is currently logging AWS API calls.
- isMulti BooleanRegion Trail 
- Specifies whether the trail applies only to the current region or to all regions. The default is false. If the trail exists only in the current region and this value is set to true, shadow trails (replications of the trail) will be created in the other regions. If the trail exists in all regions and this value is set to false, the trail will remain in the region where it was created, and its shadow trails in other regions will be deleted. As a best practice, consider using trails that log events in all regions.
- isOrganization BooleanTrail 
- Specifies whether the trail is created for all accounts in an organization in AWS Organizations, or only for the current AWS account. The default is false, and cannot be true unless the call is made on behalf of an AWS account that is the master account for an organization in AWS Organizations.
- kmsKey StringId 
- Specifies the KMS key ID to use to encrypt the logs delivered by CloudTrail. The value can be an alias name prefixed by 'alias/', a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier.
- s3BucketName String
- Specifies the name of the Amazon S3 bucket designated for publishing log files. See Amazon S3 Bucket Naming Requirements.
- s3KeyPrefix String
- Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see Finding Your CloudTrail Log Files. The maximum length is 200 characters.
- snsTopic StringArn 
- Property snsTopicArn
- snsTopic StringName 
- Specifies the name of the Amazon SNS topic defined for notification of log file delivery. The maximum length is 256 characters.
- List<Property Map>
- Property tags
- trailName String
- Property trailName
CloudTrailTrailPropertiesResponse    
- ProvisioningState string
- The status of the last operation.
- Arn string
- Amazon Resource Name (ARN)
- AwsAccount stringId 
- AWS Account ID
- AwsProperties Pulumi.Azure Native. Aws Connector. Inputs. Aws Cloud Trail Trail Properties Response 
- AWS Properties
- AwsRegion string
- AWS Region
- AwsSource stringSchema 
- AWS Source Schema
- Dictionary<string, string>
- AWS Tags
- PublicCloud stringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- PublicCloud stringResource Name 
- Public Cloud Resource Name
- ProvisioningState string
- The status of the last operation.
- Arn string
- Amazon Resource Name (ARN)
- AwsAccount stringId 
- AWS Account ID
- AwsProperties AwsCloud Trail Trail Properties Response 
- AWS Properties
- AwsRegion string
- AWS Region
- AwsSource stringSchema 
- AWS Source Schema
- map[string]string
- AWS Tags
- PublicCloud stringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- PublicCloud stringResource Name 
- Public Cloud Resource Name
- provisioningState String
- The status of the last operation.
- arn String
- Amazon Resource Name (ARN)
- awsAccount StringId 
- AWS Account ID
- awsProperties AwsCloud Trail Trail Properties Response 
- AWS Properties
- awsRegion String
- AWS Region
- awsSource StringSchema 
- AWS Source Schema
- Map<String,String>
- AWS Tags
- publicCloud StringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- publicCloud StringResource Name 
- Public Cloud Resource Name
- provisioningState string
- The status of the last operation.
- arn string
- Amazon Resource Name (ARN)
- awsAccount stringId 
- AWS Account ID
- awsProperties AwsCloud Trail Trail Properties Response 
- AWS Properties
- awsRegion string
- AWS Region
- awsSource stringSchema 
- AWS Source Schema
- {[key: string]: string}
- AWS Tags
- publicCloud stringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- publicCloud stringResource Name 
- Public Cloud Resource Name
- provisioning_state str
- The status of the last operation.
- arn str
- Amazon Resource Name (ARN)
- aws_account_ strid 
- AWS Account ID
- aws_properties AwsCloud Trail Trail Properties Response 
- AWS Properties
- aws_region str
- AWS Region
- aws_source_ strschema 
- AWS Source Schema
- Mapping[str, str]
- AWS Tags
- public_cloud_ strconnectors_ resource_ id 
- Public Cloud Connectors Resource ID
- public_cloud_ strresource_ name 
- Public Cloud Resource Name
- provisioningState String
- The status of the last operation.
- arn String
- Amazon Resource Name (ARN)
- awsAccount StringId 
- AWS Account ID
- awsProperties Property Map
- AWS Properties
- awsRegion String
- AWS Region
- awsSource StringSchema 
- AWS Source Schema
- Map<String>
- AWS Tags
- publicCloud StringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- publicCloud StringResource Name 
- Public Cloud Resource Name
DataResourceResponse  
EventSelectorResponse  
- DataResources List<Pulumi.Azure Native. Aws Connector. Inputs. Data Resource Response> 
- Property dataResources
- ExcludeManagement List<string>Event Sources 
- An optional list of service event sources from which you do not want management events to be logged on your trail. In this release, the list can be empty (disables the filter), or it can filter out AWS Key Management Service events by containing 'kms.amazonaws.com'. By default, ExcludeManagementEventSources is empty, and AWS KMS events are included in events that are logged to your trail.
- IncludeManagement boolEvents 
- Specify if you want your event selector to include management events for your trail.
- ReadWrite stringType 
- Specify if you want your trail to log read-only events, write-only events, or all. For example, the EC2 GetConsoleOutput is a read-only API operation and RunInstances is a write-only API operation.
- DataResources []DataResource Response 
- Property dataResources
- ExcludeManagement []stringEvent Sources 
- An optional list of service event sources from which you do not want management events to be logged on your trail. In this release, the list can be empty (disables the filter), or it can filter out AWS Key Management Service events by containing 'kms.amazonaws.com'. By default, ExcludeManagementEventSources is empty, and AWS KMS events are included in events that are logged to your trail.
- IncludeManagement boolEvents 
- Specify if you want your event selector to include management events for your trail.
- ReadWrite stringType 
- Specify if you want your trail to log read-only events, write-only events, or all. For example, the EC2 GetConsoleOutput is a read-only API operation and RunInstances is a write-only API operation.
- dataResources List<DataResource Response> 
- Property dataResources
- excludeManagement List<String>Event Sources 
- An optional list of service event sources from which you do not want management events to be logged on your trail. In this release, the list can be empty (disables the filter), or it can filter out AWS Key Management Service events by containing 'kms.amazonaws.com'. By default, ExcludeManagementEventSources is empty, and AWS KMS events are included in events that are logged to your trail.
- includeManagement BooleanEvents 
- Specify if you want your event selector to include management events for your trail.
- readWrite StringType 
- Specify if you want your trail to log read-only events, write-only events, or all. For example, the EC2 GetConsoleOutput is a read-only API operation and RunInstances is a write-only API operation.
- dataResources DataResource Response[] 
- Property dataResources
- excludeManagement string[]Event Sources 
- An optional list of service event sources from which you do not want management events to be logged on your trail. In this release, the list can be empty (disables the filter), or it can filter out AWS Key Management Service events by containing 'kms.amazonaws.com'. By default, ExcludeManagementEventSources is empty, and AWS KMS events are included in events that are logged to your trail.
- includeManagement booleanEvents 
- Specify if you want your event selector to include management events for your trail.
- readWrite stringType 
- Specify if you want your trail to log read-only events, write-only events, or all. For example, the EC2 GetConsoleOutput is a read-only API operation and RunInstances is a write-only API operation.
- data_resources Sequence[DataResource Response] 
- Property dataResources
- exclude_management_ Sequence[str]event_ sources 
- An optional list of service event sources from which you do not want management events to be logged on your trail. In this release, the list can be empty (disables the filter), or it can filter out AWS Key Management Service events by containing 'kms.amazonaws.com'. By default, ExcludeManagementEventSources is empty, and AWS KMS events are included in events that are logged to your trail.
- include_management_ boolevents 
- Specify if you want your event selector to include management events for your trail.
- read_write_ strtype 
- Specify if you want your trail to log read-only events, write-only events, or all. For example, the EC2 GetConsoleOutput is a read-only API operation and RunInstances is a write-only API operation.
- dataResources List<Property Map>
- Property dataResources
- excludeManagement List<String>Event Sources 
- An optional list of service event sources from which you do not want management events to be logged on your trail. In this release, the list can be empty (disables the filter), or it can filter out AWS Key Management Service events by containing 'kms.amazonaws.com'. By default, ExcludeManagementEventSources is empty, and AWS KMS events are included in events that are logged to your trail.
- includeManagement BooleanEvents 
- Specify if you want your event selector to include management events for your trail.
- readWrite StringType 
- Specify if you want your trail to log read-only events, write-only events, or all. For example, the EC2 GetConsoleOutput is a read-only API operation and RunInstances is a write-only API operation.
InsightSelectorResponse  
- InsightType string
- The type of insight to log on a trail.
- InsightType string
- The type of insight to log on a trail.
- insightType String
- The type of insight to log on a trail.
- insightType string
- The type of insight to log on a trail.
- insight_type str
- The type of insight to log on a trail.
- insightType String
- The type of insight to log on a trail.
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
TagResponse 
- Key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key str
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value str
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi