PolicyStatementReference Struct
A reference to a PolicyStatement resource.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_entityresolution as interfaces_entityresolution } from 'aws-cdk-lib/interfaces';
const policyStatementReference: interfaces_entityresolution.PolicyStatementReference = {
policyStatementArn: 'policyStatementArn',
statementId: 'statementId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_entityresolution as interfaces_entityresolution
policy_statement_reference = interfaces_entityresolution.PolicyStatementReference(
policy_statement_arn="policyStatementArn",
statement_id="statementId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.entityresolution.*;
PolicyStatementReference policyStatementReference = PolicyStatementReference.builder()
.policyStatementArn("policyStatementArn")
.statementId("statementId")
.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.Interfaces.EntityResolution;
var policyStatementReference = new PolicyStatementReference {
PolicyStatementArn = "policyStatementArn",
StatementId = "statementId"
};
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"
policyStatementReference := &PolicyStatementReference{
PolicyStatementArn: jsii.String("policyStatementArn"),
StatementId: jsii.String("statementId"),
}
Properties
policyStatementArnstringpolicy_statement_arnstrpolicyStatementArnStringPolicyStatementArnstringPolicyStatementArn*string required #The Arn of the PolicyStatement resource.
The StatementId of the PolicyStatement resource.