# CfnPolicyTemplateProps

Properties for defining a `CfnPolicyTemplate`.

Used as props by: [CfnPolicyTemplate](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_verifiedpermissions.CfnPolicyTemplate.html)

- Source: Generated at build time
- Type last changed: v2.260.0 · 16 Jun 2026

## Example

TypeScript:

```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 cfnPolicyTemplateProps: verifiedpermissions.CfnPolicyTemplateProps = {
  policyStoreId: 'policyStoreId',
  statement: 'statement',

  // the properties below are optional
  description: 'description',
  name: 'name',
};
```

Python:

```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

cfn_policy_template_props = verifiedpermissions.CfnPolicyTemplateProps(
    policy_store_id="policyStoreId",
    statement="statement",

    # the properties below are optional
    description="description",
    name="name"
)
```

Java:

```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.*;

CfnPolicyTemplateProps cfnPolicyTemplateProps = CfnPolicyTemplateProps.builder()
        .policyStoreId("policyStoreId")
        .statement("statement")

        // the properties below are optional
        .description("description")
        .name("name")
        .build();
```

C# / .NET:

```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 cfnPolicyTemplateProps = new CfnPolicyTemplateProps {
    PolicyStoreId = "policyStoreId",
    Statement = "statement",

    // the properties below are optional
    Description = "description",
    Name = "name"
};
```

Golang:

```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"

cfnPolicyTemplateProps := &CfnPolicyTemplateProps{
	PolicyStoreId: jsii.String("policyStoreId"),
	Statement: jsii.String("statement"),

	// the properties below are optional
	Description: jsii.String("description"),
	Name: jsii.String("name"),
}
```

## Properties

- `description`: string — The description to attach to the new or updated policy template.

- `name`: string

- `policyStoreId`: string (required) — The unique identifier of the policy store that contains the template.

- `statement`: string (required) — Specifies the content that you want to use for the new policy template, written in the Cedar policy language.
