Interface CfnAssociation.AWSConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAssociation.AWSConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnAssociation
@Stability(Stable)
public static interface CfnAssociation.AWSConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
AWS association for 'monitor' 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.services.devopsagent.*;
Object resourceMetadata;
AWSConfigurationProperty aWSConfigurationProperty = AWSConfigurationProperty.builder()
.accountId("accountId")
.accountType("accountType")
.assumableRoleArn("assumableRoleArn")
// the properties below are optional
.resources(List.of(AWSResourceProperty.builder()
.resourceArn("resourceArn")
// the properties below are optional
.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 forCfnAssociation.AWSConfigurationPropertystatic final classAn implementation forCfnAssociation.AWSConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()AWS Account Id corresponding to provided resources.Account Type 'monitor' for DevOpsAgent monitoring.Role ARN to be assumed by DevOpsAgent to operate on behalf of customer.default ObjectList of AWS resources.default List<CfnAssociation.KeyValuePairProperty> getTags()List of AWS tags as key-value pairs.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccountId
AWS Account Id corresponding to provided resources.- See Also:
-
getAccountType
Account Type 'monitor' for DevOpsAgent monitoring.- See Also:
-
getAssumableRoleArn
Role ARN to be assumed by DevOpsAgent to operate on behalf of customer.- See Also:
-
getResources
List of AWS resources.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnAssociation.AWSResourceProperty>- See Also:
-
getTags
List of AWS tags as key-value pairs.- See Also:
-
builder
-