Interface CfnAssociationPropsMixin.AWSConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAssociationPropsMixin.AWSConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnAssociationPropsMixin
@Stability(Stable)
public static interface CfnAssociationPropsMixin.AWSConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Configuration for AWS monitor account integration.
Specifies the account ID, assumable role ARN, and resources to be monitored in the primary monitoring 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.mixins.preview.services.devopsagent.mixins.*;
Object resourceMetadata;
AWSConfigurationProperty aWSConfigurationProperty = AWSConfigurationProperty.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.AWSConfigurationPropertystatic final classAn implementation forCfnAssociationPropsMixin.AWSConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringAccount ID corresponding to the provided resources.default StringAccount Type 'monitor' for AWS DevOps Agent monitoring.default StringRole ARN used by AWS DevOps Agent to access resources in the primary account.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 'monitor' for AWS DevOps Agent monitoring.- See Also:
-
getAssumableRoleArn
Role ARN used by AWS DevOps Agent to access resources in the primary account.- 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
-