Interface CfnAssociationPropsMixin.SourceAwsConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAssociationPropsMixin.SourceAwsConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnAssociationPropsMixin
@Stability(Stable)
public static interface CfnAssociationPropsMixin.SourceAwsConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Configuration for AWS source account integration.
Specifies the account ID, assumable role ARN, and resources to be monitored in the source account.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.devopsagent.*;
Object resourceMetadata;
SourceAwsConfigurationProperty sourceAwsConfigurationProperty = SourceAwsConfigurationProperty.builder()
.accountId("accountId")
.accountType("accountType")
.assumableRoleArn("assumableRoleArn")
.resources(List.of(AWSResourceProperty.builder()
.resourceArn("resourceArn")
.resourceMetadata(resourceMetadata)
.resourceType("resourceType")
.build()))
.tags(List.of(KeyValuePairProperty.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAssociationPropsMixin.SourceAwsConfigurationPropertystatic final classAn implementation forCfnAssociationPropsMixin.SourceAwsConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringAccount ID corresponding to the provided resources.default StringAccount Type 'source' for AWS DevOps Agent monitoring.default StringRole ARN to be assumed by AWS DevOps Agent to operate on behalf of customer.default ObjectList of resources to monitor.getTags()List of tags as key-value pairs, used to identify resources for topology crawl.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccountId
Account ID corresponding to the provided resources.- See Also:
-
getAccountType
Account Type 'source' for AWS DevOps Agent monitoring.- See Also:
-
getAssumableRoleArn
Role ARN to be assumed by AWS DevOps Agent to operate on behalf of customer.- See Also:
-
getResources
List of resources to monitor.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnAssociationPropsMixin.AWSResourceProperty>- See Also:
-
getTags
List of tags as key-value pairs, used to identify resources for topology crawl.- See Also:
-
builder
-