SourceAwsConfigurationProperty Struct
Configuration for AWS source account integration.
Specifies the account ID, assumable role ARN, and resources to be monitored in the source account.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_devopsagent as devopsagent } from 'aws-cdk-lib';
declare const resourceMetadata: any;
const sourceAwsConfigurationProperty: devopsagent.CfnAssociation.SourceAwsConfigurationProperty = {
accountId: 'accountId',
accountType: 'accountType',
assumableRoleArn: 'assumableRoleArn',
// the properties below are optional
agentElevatedRoleArn: 'agentElevatedRoleArn',
resources: [{
resourceArn: 'resourceArn',
// the properties below are optional
resourceMetadata: resourceMetadata,
resourceType: 'resourceType',
}],
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Account ID corresponding to the provided resources.
Account Type 'source' for AWS DevOps Agent monitoring.
agentElevatedRoleArnstringagent_elevated_role_arnstragentElevatedRoleArnStringAgentElevatedRoleArnstringAgentElevatedRoleArn*string#The IAM role that AWS DevOps Agent assumes to perform elevated directed actions in this AWS account.
notes
Elevated actions also require ElevatedActionsEnabled to be set in the Preferences of the AgentSpace. When not provided, only non-elevated directed actions are available. Removing this property from the template clears the role on update. Setting this role is subject to the same iam:PassRole requirement as AssumableRoleArn.
assumableRoleArnstringassumable_role_arnstrassumableRoleArnStringAssumableRoleArnstringAssumableRoleArn*stringrequired#Role ARN to be assumed by AWS DevOps Agent to operate on behalf of customer.
resourcesIResolvable | IResolvable | CfnAssociation.AWSResourceProperty[]resourcestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, AWSResourceProperty]]]resourcesIResolvableResourcesIResolvableResourcesinterface{}#List of resources to monitor.
tagsCfnAssociation.KeyValuePairProperty[]tagstyping.List[KeyValuePairProperty]tagsList<KeyValuePairProperty>TagsKeyValuePairProperty[]Tags*[]KeyValuePairProperty#List of tags as key-value pairs, used to identify resources for topology crawl.