Skip to content
v2.278.0

PolicyStatementProperty ​

Struct External

A policy statement within the AgentCore Policy system.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const policyStatementProperty: bedrockagentcore.CfnPolicy.PolicyStatementProperty = {
  statement: 'statement',
};
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_bedrockagentcore as bedrockagentcore

policy_statement_property = bedrockagentcore.CfnPolicy.PolicyStatementProperty(
    statement="statement"
)
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.bedrockagentcore.*;

PolicyStatementProperty policyStatementProperty = PolicyStatementProperty.builder()
        .statement("statement")
        .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.BedrockAgentCore;

var policyStatementProperty = new PolicyStatementProperty {
    Statement = "statement"
};
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"

policyStatementProperty := &PolicyStatementProperty{
	Statement: jsii.String("statement"),
}

Properties ​

statementstringstatementstrstatementStringStatementstringStatement*string required #
The policy statement.