@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:06.590Z") @Stability(value=Stable) public interface CfnPolicyProps extends software.amazon.jsii.JsiiSerializable
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.fms.*;
IEMapProperty eMapProperty;
Object securityServicePolicyData;
CfnPolicyProps cfnPolicyProps = CfnPolicyProps.builder()
.excludeResourceTags(false)
.policyName("policyName")
.remediationEnabled(false)
.resourceType("resourceType")
.securityServicePolicyData(securityServicePolicyData)
// the properties below are optional
.deleteAllPolicyResources(false)
.excludeMap(eMapProperty)
.includeMap(eMapProperty)
.resourcesCleanUp(false)
.resourceTags(List.of(ResourceTagProperty.builder()
.key("key")
// the properties below are optional
.value("value")
.build()))
.resourceTypeList(List.of("resourceTypeList"))
.tags(List.of(PolicyTagProperty.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnPolicyProps.Builder
A builder for
CfnPolicyProps |
static class |
CfnPolicyProps.Jsii$Proxy
An implementation for
CfnPolicyProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnPolicyProps.Builder |
builder() |
default Object |
getDeleteAllPolicyResources()
`AWS::FMS::Policy.DeleteAllPolicyResources`.
|
default Object |
getExcludeMap()
`AWS::FMS::Policy.ExcludeMap`.
|
Object |
getExcludeResourceTags()
`AWS::FMS::Policy.ExcludeResourceTags`.
|
default Object |
getIncludeMap()
`AWS::FMS::Policy.IncludeMap`.
|
String |
getPolicyName()
`AWS::FMS::Policy.PolicyName`.
|
Object |
getRemediationEnabled()
`AWS::FMS::Policy.RemediationEnabled`.
|
default Object |
getResourcesCleanUp()
`AWS::FMS::Policy.ResourcesCleanUp`.
|
default Object |
getResourceTags()
`AWS::FMS::Policy.ResourceTags`.
|
String |
getResourceType()
`AWS::FMS::Policy.ResourceType`.
|
default List<String> |
getResourceTypeList()
`AWS::FMS::Policy.ResourceTypeList`.
|
Object |
getSecurityServicePolicyData()
`AWS::FMS::Policy.SecurityServicePolicyData`.
|
default List<CfnPolicy.PolicyTagProperty> |
getTags()
`AWS::FMS::Policy.Tags`.
|
@Stability(value=Stable) @Nullable default Object getDeleteAllPolicyResources()
@Stability(value=Stable) @Nullable default Object getExcludeMap()
@Stability(value=Stable) @NotNull Object getExcludeResourceTags()
@Stability(value=Stable) @Nullable default Object getIncludeMap()
@Stability(value=Stable) @NotNull String getPolicyName()
@Stability(value=Stable) @NotNull Object getRemediationEnabled()
@Stability(value=Stable) @Nullable default Object getResourcesCleanUp()
@Stability(value=Stable) @Nullable default Object getResourceTags()
@Stability(value=Stable) @NotNull String getResourceType()
@Stability(value=Stable) @Nullable default List<String> getResourceTypeList()
@Stability(value=Stable) @NotNull Object getSecurityServicePolicyData()
@Stability(value=Stable) @Nullable default List<CfnPolicy.PolicyTagProperty> getTags()
@Stability(value=Stable) static CfnPolicyProps.Builder builder()
CfnPolicyProps.Builder of CfnPolicyPropsCopyright © 2021. All rights reserved.