interface CfnResourcePolicyProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.SSM.CfnResourcePolicyProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsssm#CfnResourcePolicyProps |
![]() | software.amazon.awscdk.services.ssm.CfnResourcePolicyProps |
![]() | aws_cdk.aws_ssm.CfnResourcePolicyProps |
![]() | aws-cdk-lib » aws_ssm » CfnResourcePolicyProps |
Properties for defining a CfnResourcePolicy
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-resourcepolicy.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ssm as ssm } from 'aws-cdk-lib';
declare const policy: any;
const cfnResourcePolicyProps: ssm.CfnResourcePolicyProps = {
policy: policy,
resourceArn: 'resourceArn',
};
Properties
Name | Type | Description |
---|---|---|
policy | any | A policy you want to associate with a resource. |
resource | string | The Amazon Resource Name (ARN) of the resource to which you want to attach a policy. |
policy
Type:
any
A policy you want to associate with a resource.
resourceArn
Type:
string
The Amazon Resource Name (ARN) of the resource to which you want to attach a policy.