@Stability(value=Stable) public static final class CfnConfigRule.ScopeProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnConfigRule.ScopeProperty>
CfnConfigRule.ScopeProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnConfigRule.ScopeProperty |
build()
Builds the configured instance.
|
CfnConfigRule.ScopeProperty.Builder |
complianceResourceId(String complianceResourceId)
Sets the value of
CfnConfigRule.ScopeProperty.getComplianceResourceId() |
CfnConfigRule.ScopeProperty.Builder |
complianceResourceTypes(List<String> complianceResourceTypes)
Sets the value of
CfnConfigRule.ScopeProperty.getComplianceResourceTypes() |
CfnConfigRule.ScopeProperty.Builder |
tagKey(String tagKey)
Sets the value of
CfnConfigRule.ScopeProperty.getTagKey() |
CfnConfigRule.ScopeProperty.Builder |
tagValue(String tagValue)
Sets the value of
CfnConfigRule.ScopeProperty.getTagValue() |
@Stability(value=Stable) public CfnConfigRule.ScopeProperty.Builder complianceResourceId(String complianceResourceId)
CfnConfigRule.ScopeProperty.getComplianceResourceId()complianceResourceId - The ID of the only AWS resource that you want to trigger an evaluation for the rule.
If you specify a resource ID, you must specify one resource type for ComplianceResourceTypes .this@Stability(value=Stable) public CfnConfigRule.ScopeProperty.Builder complianceResourceTypes(List<String> complianceResourceTypes)
CfnConfigRule.ScopeProperty.getComplianceResourceTypes()complianceResourceTypes - The resource types of only those AWS resources that you want to trigger an evaluation for the rule.
You can only specify one type if you also specify a resource ID for ComplianceResourceId .this@Stability(value=Stable) public CfnConfigRule.ScopeProperty.Builder tagKey(String tagKey)
CfnConfigRule.ScopeProperty.getTagKey()tagKey - The tag key that is applied to only those AWS resources that you want to trigger an evaluation for the rule.this@Stability(value=Stable) public CfnConfigRule.ScopeProperty.Builder tagValue(String tagValue)
CfnConfigRule.ScopeProperty.getTagValue()tagValue - The tag value applied to only those AWS resources that you want to trigger an evaluation for the rule.
If you specify a value for TagValue , you must also specify a value for TagKey .this@Stability(value=Stable) public CfnConfigRule.ScopeProperty build()
build in interface software.amazon.jsii.Builder<CfnConfigRule.ScopeProperty>CfnConfigRule.ScopePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.