Skip to content
v2.275.0

RoleReference Struct ​

A reference to a Role resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iam as interfaces_iam } from 'aws-cdk-lib/interfaces';
const roleReference: interfaces_iam.RoleReference = {
  roleArn: 'roleArn',
  roleName: 'roleName',
};

Properties ​

roleArnstringrole_arnstrroleArnStringRoleArnstringRoleArn*stringrequired#
The ARN of the Role resource.
roleNamestringrole_namestrroleNameStringRoleNamestringRoleName*stringrequired#
The RoleName of the Role resource.