interface UserPolicyReference
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IAM.UserPolicyReference |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsiam#UserPolicyReference |
![]() | software.amazon.awscdk.services.iam.UserPolicyReference |
![]() | aws_cdk.aws_iam.UserPolicyReference |
![]() | aws-cdk-lib » aws_iam » UserPolicyReference |
A reference to a UserPolicy resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iam as iam } from 'aws-cdk-lib';
const userPolicyReference: iam.UserPolicyReference = {
policyName: 'policyName',
userName: 'userName',
};
Properties
Name | Type | Description |
---|---|---|
policy | string | The PolicyName of the UserPolicy resource. |
user | string | The UserName of the UserPolicy resource. |
policyName
Type:
string
The PolicyName of the UserPolicy resource.
userName
Type:
string
The UserName of the UserPolicy resource.