@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:16.812Z") @Stability(value=Experimental) public class RuleScope extends software.amazon.jsii.JsiiObject
| Modifier | Constructor and Description |
|---|---|
protected |
RuleScope(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
RuleScope(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static RuleScope |
fromResource(ResourceType resourceType)
(experimental) restricts scope of changes to a specific resource type or resource identifier.
|
static RuleScope |
fromResource(ResourceType resourceType,
String resourceId)
(experimental) restricts scope of changes to a specific resource type or resource identifier.
|
static RuleScope |
fromResources(List<? extends ResourceType> resourceTypes)
(experimental) restricts scope of changes to specific resource types.
|
static RuleScope |
fromTag(String key)
(experimental) restricts scope of changes to a specific tag.
|
static RuleScope |
fromTag(String key,
String value)
(experimental) restricts scope of changes to a specific tag.
|
String |
getKey()
(experimental) tag key applied to resources that will trigger evaluation of a rule.
|
String |
getResourceId()
(experimental) ID of the only AWS resource that will trigger evaluation of a rule.
|
List<ResourceType> |
getResourceTypes()
(experimental) Resource types that will trigger evaluation of a rule.
|
String |
getValue()
(experimental) tag value applied to resources that will trigger evaluation of a rule.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected RuleScope(software.amazon.jsii.JsiiObjectRef objRef)
protected RuleScope(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) @NotNull public static RuleScope fromResource(@NotNull ResourceType resourceType, @Nullable String resourceId)
resourceType - This parameter is required.resourceId - @Stability(value=Experimental) @NotNull public static RuleScope fromResource(@NotNull ResourceType resourceType)
resourceType - This parameter is required.@Stability(value=Experimental) @NotNull public static RuleScope fromResources(@NotNull List<? extends ResourceType> resourceTypes)
resourceTypes - This parameter is required.@Stability(value=Experimental) @NotNull public static RuleScope fromTag(@NotNull String key, @Nullable String value)
key - This parameter is required.value - @Stability(value=Experimental) @NotNull public static RuleScope fromTag(@NotNull String key)
key - This parameter is required.@Stability(value=Experimental) @Nullable public String getKey()
@Stability(value=Experimental) @Nullable public String getResourceId()
@Stability(value=Experimental) @Nullable public List<ResourceType> getResourceTypes()
@Stability(value=Experimental) @Nullable public String getValue()
Copyright © 2021. All rights reserved.