CfnAuthPolicyProps Struct
Properties for defining a CfnAuthPolicy.
| 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_vpclattice as vpclattice } from 'aws-cdk-lib';
declare const policy: any;
const cfnAuthPolicyProps: vpclattice.CfnAuthPolicyProps = {
policy: policy,
resourceIdentifier: 'resourceIdentifier',
};
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_vpclattice as vpclattice
# policy: Any
cfn_auth_policy_props = vpclattice.CfnAuthPolicyProps(
policy=policy,
resource_identifier="resourceIdentifier"
)
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.vpclattice.*;
Object policy;
CfnAuthPolicyProps cfnAuthPolicyProps = CfnAuthPolicyProps.builder()
.policy(policy)
.resourceIdentifier("resourceIdentifier")
.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.VpcLattice;
var policy;
var cfnAuthPolicyProps = new CfnAuthPolicyProps {
Policy = policy,
ResourceIdentifier = "resourceIdentifier"
};
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"
var policy interface{}
cfnAuthPolicyProps := &CfnAuthPolicyProps{
Policy: policy,
ResourceIdentifier: jsii.String("resourceIdentifier"),
}