ResourcePolicyReference Struct
A reference to a ResourcePolicy 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_lex as interfaces_lex } from 'aws-cdk-lib/interfaces';
const resourcePolicyReference: interfaces_lex.ResourcePolicyReference = {
resourcePolicyId: 'resourcePolicyId',
};
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_lex as interfaces_lex
resource_policy_reference = interfaces_lex.ResourcePolicyReference(
resource_policy_id="resourcePolicyId"
)
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.lex.*;
ResourcePolicyReference resourcePolicyReference = ResourcePolicyReference.builder()
.resourcePolicyId("resourcePolicyId")
.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.Lex;
var resourcePolicyReference = new ResourcePolicyReference {
ResourcePolicyId = "resourcePolicyId"
};
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"
resourcePolicyReference := &ResourcePolicyReference{
ResourcePolicyId: jsii.String("resourcePolicyId"),
}
Properties
resourcePolicyIdstringresource_policy_idstrresourcePolicyIdStringResourcePolicyIdstringResourcePolicyId*string required #The Id of the ResourcePolicy resource.