Class CfnResourcePolicyProps
Properties for defining a CfnResourcePolicy.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.BedrockAgentCore
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnResourcePolicyProps : ICfnResourcePolicyProps
Syntax (vb)
Public Class CfnResourcePolicyProps 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.BedrockAgentCore;
var cfnResourcePolicyProps = new CfnResourcePolicyProps {
Policy = "policy",
ResourceArn = "resourceArn"
};
Synopsis
Constructors
| CfnResourcePolicyProps() | Properties for defining a |
Properties
| Policy | The resource policy to create or update. |
| ResourceArn | The Amazon Resource Name (ARN) of the resource for which to create or update the resource policy. |
Constructors
CfnResourcePolicyProps()
Properties for defining a CfnResourcePolicy.
public CfnResourcePolicyProps()
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.BedrockAgentCore;
var cfnResourcePolicyProps = new CfnResourcePolicyProps {
Policy = "policy",
ResourceArn = "resourceArn"
};
Properties
Policy
The resource policy to create or update.
public string Policy { get; set; }
Property Value
Remarks
ResourceArn
The Amazon Resource Name (ARN) of the resource for which to create or update the resource policy.
public string ResourceArn { get; set; }