PolicyGrantReference Struct
A reference to a PolicyGrant 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_datazone as interfaces_datazone } from 'aws-cdk-lib/interfaces';
const policyGrantReference: interfaces_datazone.PolicyGrantReference = {
domainIdentifier: 'domainIdentifier',
entityIdentifier: 'entityIdentifier',
entityType: 'entityType',
grantId: 'grantId',
policyType: 'policyType',
};
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_datazone as interfaces_datazone
policy_grant_reference = interfaces_datazone.PolicyGrantReference(
domain_identifier="domainIdentifier",
entity_identifier="entityIdentifier",
entity_type="entityType",
grant_id="grantId",
policy_type="policyType"
)
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.datazone.*;
PolicyGrantReference policyGrantReference = PolicyGrantReference.builder()
.domainIdentifier("domainIdentifier")
.entityIdentifier("entityIdentifier")
.entityType("entityType")
.grantId("grantId")
.policyType("policyType")
.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.DataZone;
var policyGrantReference = new PolicyGrantReference {
DomainIdentifier = "domainIdentifier",
EntityIdentifier = "entityIdentifier",
EntityType = "entityType",
GrantId = "grantId",
PolicyType = "policyType"
};
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"
policyGrantReference := &PolicyGrantReference{
DomainIdentifier: jsii.String("domainIdentifier"),
EntityIdentifier: jsii.String("entityIdentifier"),
EntityType: jsii.String("entityType"),
GrantId: jsii.String("grantId"),
PolicyType: jsii.String("policyType"),
}
Properties
domainIdentifierstringdomain_identifierstrdomainIdentifierStringDomainIdentifierstringDomainIdentifier*string required #The DomainIdentifier of the PolicyGrant resource.
entityIdentifierstringentity_identifierstrentityIdentifierStringEntityIdentifierstringEntityIdentifier*string required #The EntityIdentifier of the PolicyGrant resource.
The EntityType of the PolicyGrant resource.
The GrantId of the PolicyGrant resource.
The PolicyType of the PolicyGrant resource.