Interface CfnAssociationPropsMixin.ISourceAwsConfigurationProperty
Configuration for AWS source account integration.
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.DevOpsAgent
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public interface CfnAssociationPropsMixin.ISourceAwsConfigurationProperty
Syntax (vb)
Public Interface CfnAssociationPropsMixin.ISourceAwsConfigurationProperty
Remarks
Specifies the account ID, assumable role ARN, and resources to be monitored in the source account.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.DevOpsAgent;
var resourceMetadata;
var sourceAwsConfigurationProperty = new SourceAwsConfigurationProperty {
AccountId = "accountId",
AccountType = "accountType",
AssumableRoleArn = "assumableRoleArn",
Resources = new [] { new AWSResourceProperty {
ResourceArn = "resourceArn",
ResourceMetadata = resourceMetadata,
ResourceType = "resourceType"
} },
Tags = new [] { new KeyValuePairProperty {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
| AccountId | Account ID corresponding to the provided resources. |
| AccountType | Account Type 'source' for AWS DevOps Agent monitoring. |
| AssumableRoleArn | Role ARN to be assumed by AWS DevOps Agent to operate on behalf of customer. |
| Resources | List of resources to monitor. |
| Tags | List of tags as key-value pairs, used to identify resources for topology crawl. |
Properties
AccountId
Account ID corresponding to the provided resources.
string? AccountId { get; }
Property Value
Remarks
AccountType
Account Type 'source' for AWS DevOps Agent monitoring.
string? AccountType { get; }
Property Value
Remarks
AssumableRoleArn
Role ARN to be assumed by AWS DevOps Agent to operate on behalf of customer.
string? AssumableRoleArn { get; }
Property Value
Remarks
Resources
List of resources to monitor.
object? Resources { get; }
Property Value
Remarks
Type union: either IResolvable or (either IResolvable or CfnAssociationPropsMixin.IAWSResourceProperty)[]
Tags
List of tags as key-value pairs, used to identify resources for topology crawl.
CfnAssociationPropsMixin.IKeyValuePairProperty[]? Tags { get; }