interface PermissionModelProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ResilienceHubV2.CfnService.PermissionModelProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsresiliencehubv2#CfnService_PermissionModelProperty |
Java | software.amazon.awscdk.services.resiliencehubv2.CfnService.PermissionModelProperty |
Python | aws_cdk.aws_resiliencehubv2.CfnService.PermissionModelProperty |
TypeScript | aws-cdk-lib » aws_resiliencehubv2 » CfnService » PermissionModelProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_resiliencehubv2 as resiliencehubv2 } from 'aws-cdk-lib';
const permissionModelProperty: resiliencehubv2.CfnService.PermissionModelProperty = {
invokerRoleName: 'invokerRoleName',
// the properties below are optional
crossAccountRoleArns: [{
crossAccountRoleArn: 'crossAccountRoleArn',
// the properties below are optional
externalId: 'externalId',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| invoker | string | Name of the invoker IAM role. |
| cross | IResolvable | (IResolvable | Cross)[] | Cross-account role ARNs. |
invokerRoleName
Type:
string
Name of the invoker IAM role.
crossAccountRoleArns?
Type:
IResolvable | (IResolvable | Cross)[]
(optional)
Cross-account role ARNs.

.NET
Go
Java
Python
TypeScript