Package com.pulumi.aws.cfg.outputs
Class RuleScope
- java.lang.Object
-
- com.pulumi.aws.cfg.outputs.RuleScope
-
public final class RuleScope extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RuleScope.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RuleScope.Builder
builder()
static RuleScope.Builder
builder(RuleScope defaults)
java.util.Optional<java.lang.String>
complianceResourceId()
java.util.List<java.lang.String>
complianceResourceTypes()
java.util.Optional<java.lang.String>
tagKey()
java.util.Optional<java.lang.String>
tagValue()
-
-
-
Method Detail
-
complianceResourceId
public java.util.Optional<java.lang.String> complianceResourceId()
- Returns:
- The IDs 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 `compliance_resource_types`.
-
complianceResourceTypes
public java.util.List<java.lang.String> complianceResourceTypes()
- Returns:
- A list of resource types of only those AWS resources that you want to trigger an evaluation for the ruleE.g., `AWS::EC2::Instance`. You can only specify one type if you also specify a resource ID for `compliance_resource_id`. See [relevant part of AWS Docs](http://docs.aws.amazon.com/config/latest/APIReference/API_ResourceIdentifier.html#config-Type-ResourceIdentifier-resourceType) for available types.
-
tagKey
public java.util.Optional<java.lang.String> tagKey()
- Returns:
- The tag key that is applied to only those AWS resources that you want you want to trigger an evaluation for the rule.
-
tagValue
public java.util.Optional<java.lang.String> tagValue()
- Returns:
- The tag value applied to only those AWS resources that you want to trigger an evaluation for the rule.
-
builder
public static RuleScope.Builder builder()
-
builder
public static RuleScope.Builder builder(RuleScope defaults)
-
-