# StaticPolicyDefinitionProperty

A structure that defines a static policy.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## 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 staticPolicyDefinitionProperty: verifiedpermissions.CfnPolicy.StaticPolicyDefinitionProperty = {
  statement: 'statement',

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

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

static_policy_definition_property = verifiedpermissions.CfnPolicy.StaticPolicyDefinitionProperty(
    statement="statement",

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

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

StaticPolicyDefinitionProperty staticPolicyDefinitionProperty = StaticPolicyDefinitionProperty.builder()
        .statement("statement")

        // the properties below are optional
        .description("description")
        .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 staticPolicyDefinitionProperty = new StaticPolicyDefinitionProperty {
    Statement = "statement",

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

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"

staticPolicyDefinitionProperty := &StaticPolicyDefinitionProperty{
	Statement: jsii.String("statement"),

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

## Properties

- `description`: string — The description of the static policy.

- `statement`: string (required) — The policy content of the static policy, written in the Cedar policy language.
