interface InstanceProfileReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.IAM.InstanceProfileReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiam#InstanceProfileReference |
Java | software.amazon.awscdk.services.iam.InstanceProfileReference |
Python | aws_cdk.aws_iam.InstanceProfileReference |
TypeScript | aws-cdk-lib » aws_iam » InstanceProfileReference |
A reference to a InstanceProfile 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 instanceProfileReference: iam.InstanceProfileReference = {
instanceProfileArn: 'instanceProfileArn',
instanceProfileName: 'instanceProfileName',
};
Properties
| Name | Type | Description |
|---|---|---|
| instance | string | The ARN of the InstanceProfile resource. |
| instance | string | The InstanceProfileName of the InstanceProfile resource. |
instanceProfileArn
Type:
string
The ARN of the InstanceProfile resource.
instanceProfileName
Type:
string
The InstanceProfileName of the InstanceProfile resource.

.NET
Go
Java
Python
TypeScript