Interface CfnPolicyStoreMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPolicyStoreMixinProps.Jsii$Proxy
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.verifiedpermissions.*;
Object default_;
CfnPolicyStoreMixinProps cfnPolicyStoreMixinProps = CfnPolicyStoreMixinProps.builder()
.deletionProtection(DeletionProtectionProperty.builder()
.mode("mode")
.build())
.description("description")
.encryptionSettings(EncryptionSettingsProperty.builder()
.default(default_)
.kmsEncryptionSettings(KmsEncryptionSettingsProperty.builder()
.encryptionContext(Map.of(
"encryptionContextKey", "encryptionContext"))
.key("key")
.build())
.build())
.schema(SchemaDefinitionProperty.builder()
.cedarFormat("cedarFormat")
.cedarJson("cedarJson")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.validationSettings(ValidationSettingsProperty.builder()
.mode("mode")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPolicyStoreMixinPropsstatic final classAn implementation forCfnPolicyStoreMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectSpecifies whether the policy store can be deleted.default StringDescriptive text that you can provide to help with identification of the current policy store.default ObjectReturns union: eitherIResolvableorCfnPolicyStorePropsMixin.EncryptionSettingsPropertydefault ObjectCreates or updates the policy schema in a policy store.getTags()The list of key-value pairs to associate with the policy store.default ObjectSpecifies the validation setting for this policy store.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDeletionProtection
Specifies whether the policy store can be deleted. If enabled, the policy store can't be deleted.The default state is
DISABLED.Returns union: either
IResolvableorCfnPolicyStorePropsMixin.DeletionProtectionProperty- See Also:
-
getDescription
Descriptive text that you can provide to help with identification of the current policy store.- See Also:
-
getEncryptionSettings
Returns union: eitherIResolvableorCfnPolicyStorePropsMixin.EncryptionSettingsProperty- See Also:
-
getSchema
Creates or updates the policy schema in a policy store.Cedar can use the schema to validate any Cedar policies and policy templates submitted to the policy store. Any changes to the schema validate only policies and templates submitted after the schema change. Existing policies and templates are not re-evaluated against the changed schema. If you later update a policy, then it is evaluated against the new schema at that time.
Returns union: either
IResolvableorCfnPolicyStorePropsMixin.SchemaDefinitionProperty- See Also:
-
getTags
The list of key-value pairs to associate with the policy store.- See Also:
-
getValidationSettings
Specifies the validation setting for this policy store.Currently, the only valid and required value is
Mode.We recommend that you turn on
STRICTmode only after you define a schema. If a schema doesn't exist, thenSTRICTmode causes any policy to fail validation, and Verified Permissions rejects the policy. You can turn off validation by using the UpdatePolicyStore . Then, when you have a schema defined, use UpdatePolicyStore again to turn validation back on.Returns union: either
IResolvableorCfnPolicyStorePropsMixin.ValidationSettingsProperty- See Also:
-
builder
- Returns:
- a
CfnPolicyStoreMixinProps.BuilderofCfnPolicyStoreMixinProps
-