Skip to content
v2.278.0

SchemaDefinitionProperty Struct ​

Contains a list of principal types, resource types, and actions that can be specified in policies stored in the same policy store.

If the validation mode for the policy store is set to STRICT , then policies that can't be validated by this schema are rejected by Verified Permissions and can't be stored in the policy store.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_verifiedpermissions as verifiedpermissions } from 'aws-cdk-lib';
const schemaDefinitionProperty: verifiedpermissions.CfnPolicyStore.SchemaDefinitionProperty = {
  cedarJson: 'cedarJson',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_verifiedpermissions as verifiedpermissions

schema_definition_property = verifiedpermissions.CfnPolicyStore.SchemaDefinitionProperty(
    cedar_json="cedarJson"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.verifiedpermissions.*;

SchemaDefinitionProperty schemaDefinitionProperty = SchemaDefinitionProperty.builder()
        .cedarJson("cedarJson")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.VerifiedPermissions;

var schemaDefinitionProperty = new SchemaDefinitionProperty {
    CedarJson = "cedarJson"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

schemaDefinitionProperty := &SchemaDefinitionProperty{
	CedarJson: jsii.String("cedarJson"),
}

Properties ​

cedarJsonoptionalstringcedar_jsonoptionalstrcedarJsonoptionalStringCedarJsonoptionalstringCedarJsonoptional*string #
A JSON string representation of the schema supported by applications that use this policy store.

For more information, see Policy store schema in the AVP User Guide.