interface RoleReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Interfaces.IAM.RoleReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/interfaces/awsiam#RoleReference |
Java | software.amazon.awscdk.interfaces.iam.RoleReference |
Python | aws_cdk.interfaces.aws_iam.RoleReference |
TypeScript | aws-cdk-lib » interfaces » aws_iam » RoleReference |
A reference to a Role 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 interfaces_iam } from 'aws-cdk-lib/interfaces';
const roleReference: interfaces_iam.RoleReference = {
roleArn: 'roleArn',
roleName: 'roleName',
};
Properties
| Name | Type | Description |
|---|---|---|
| role | string | The ARN of the Role resource. |
| role | string | The RoleName of the Role resource. |
roleArn
Type:
string
The ARN of the Role resource.
roleName
Type:
string
The RoleName of the Role resource.

.NET
Go
Java
Python
TypeScript