Skip to content
v2.275.0

CfnAuthPolicyProps Struct ​

Properties for defining a CfnAuthPolicy.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_vpclattice as vpclattice } from 'aws-cdk-lib';

declare const policy: any;
const cfnAuthPolicyProps: vpclattice.CfnAuthPolicyProps = {
  policy: policy,
  resourceIdentifier: 'resourceIdentifier',
};

Properties ​

policyanypolicyAnypolicyObjectPolicyobjectPolicyinterface{}required#
The auth policy.
resourceIdentifierstringresource_identifierstrresourceIdentifierStringResourceIdentifierstringResourceIdentifier*stringrequired#
The ID or ARN of the service network or service for which the policy is created.