Skip to main content

SourceAwsAccount

Resource SourceAwsAccount in pulumi-logtail.
3 min read

Resource SourceAwsAccount in pulumi-logtail.

Pulumi type: logtail:index/sourceAwsAccount:SourceAwsAccount.

name is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

Example#

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

Arguments#

PropertyTypeRequiredDescription
autoSubscribeLogGroupsbooleannoWhether Better Stack automatically subscribes CloudWatch log groups without an explicit override. When omitted, the current API setting is preserved.
awsAccountIdstringnoThe ID of an existing connected AWS account to link this source to. Provide this instead of awsRoleArn/awsExternalId to reuse an account you've already connected. Write-only: the API does not return it, so it isn't refreshed from state.
awsExternalIdstringnoThe external ID used for the STS assume-role trust - the ExternalId output of the Better Stack CloudFormation stack. Provide together with awsRoleArn. Write-only: the API does not return it, so it isn't refreshed from state.
awsRoleArnstringnoThe IAM role ARN to connect your AWS account - the IntegrationRoleArn output of the Better Stack CloudFormation stack. Provide together with awsExternalId. Write-only: the API does not return it, so it isn't refreshed from state.
sourceAwsAccountIdstringno
sourceIdstringyesThe ID of the logtail.Source (with platform = "aws") to link the AWS account to. Changing this forces a new resource, re-running the account connect against the new source.

Outputs#

Computed outputs are produced by the provider. They are not constructor arguments.

PropertyTypeComputedDescription
autoSubscribeLogGroupsbooleannoWhether Better Stack automatically subscribes CloudWatch log groups without an explicit override. When omitted, the current API setting is preserved.
awsAccountIdstringnoThe ID of an existing connected AWS account to link this source to. Provide this instead of awsRoleArn/awsExternalId to reuse an account you've already connected. Write-only: the API does not return it, so it isn't refreshed from state.
awsExternalIdstringnoThe external ID used for the STS assume-role trust - the ExternalId output of the Better Stack CloudFormation stack. Provide together with awsRoleArn. Write-only: the API does not return it, so it isn't refreshed from state.
awsRoleArnstringnoThe IAM role ARN to connect your AWS account - the IntegrationRoleArn output of the Better Stack CloudFormation stack. Provide together with awsExternalId. Write-only: the API does not return it, so it isn't refreshed from state.
sourceAwsAccountIdstringno
sourceIdstringnoThe ID of the logtail.Source (with platform = "aws") to link the AWS account to. Changing this forces a new resource, re-running the account connect against the new source.