Class CfnResourcePolicyProps
Properties for defining a CfnResourcePolicy
.
Inheritance
System.Object
CfnResourcePolicyProps
Implements
Namespace: Amazon.CDK.AWS.VpcLattice
Assembly: Amazon.CDK.AWS.VpcLattice.dll
Syntax (csharp)
public class CfnResourcePolicyProps : Object, ICfnResourcePolicyProps
Syntax (vb)
Public Class CfnResourcePolicyProps
Inherits Object
Implements ICfnResourcePolicyProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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 cfnResourcePolicyProps = new CfnResourcePolicyProps {
Policy = policy,
ResourceArn = "resourceArn"
};
Synopsis
Constructors
CfnResourcePolicyProps() |
Properties
Policy | The Amazon Resource Name (ARN) of the service network or service. |
ResourceArn | An IAM policy. |
Constructors
CfnResourcePolicyProps()
public CfnResourcePolicyProps()
Properties
Policy
The Amazon Resource Name (ARN) of the service network or service.
public object Policy { get; set; }
Property Value
System.Object
Remarks
ResourceArn
An IAM policy.
public string ResourceArn { get; set; }
Property Value
System.String