interface EcrImagePullerRoleProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Lightsail.CfnContainerPropsMixin.EcrImagePullerRoleProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslightsail#CfnContainerPropsMixin_EcrImagePullerRoleProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.lightsail.CfnContainerPropsMixin.EcrImagePullerRoleProperty |
Python | aws_cdk.cfn_property_mixins.aws_lightsail.CfnContainerPropsMixin.EcrImagePullerRoleProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lightsail » CfnContainerPropsMixin » EcrImagePullerRoleProperty |
Describes the IAM role that you can use to grant a Lightsail container service access to Amazon ECR private repositories.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lightsail as lightsail } from '@aws-cdk/cfn-property-mixins';
const ecrImagePullerRoleProperty: lightsail.CfnContainerPropsMixin.EcrImagePullerRoleProperty = {
isActive: false,
principalArn: 'principalArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| is | boolean | IResolvable | A boolean value that indicates whether the ECRImagePullerRole is active. |
| principal | string | The principle Amazon Resource Name (ARN) of the role. |
isActive?
Type:
boolean | IResolvable
(optional)
A boolean value that indicates whether the ECRImagePullerRole is active.
principalArn?
Type:
string
(optional)
The principle Amazon Resource Name (ARN) of the role.
This property is read-only.

.NET
Go
Java
Python
TypeScript