interface PrivateRegistryAccessProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lightsail.Mixins.CfnContainerPropsMixin.PrivateRegistryAccessProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslightsail/mixins#CfnContainerPropsMixin_PrivateRegistryAccessProperty |
Java | software.amazon.awscdk.mixins.preview.services.lightsail.mixins.CfnContainerPropsMixin.PrivateRegistryAccessProperty |
Python | aws_cdk.mixins_preview.aws_lightsail.mixins.CfnContainerPropsMixin.PrivateRegistryAccessProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lightsail » mixins » CfnContainerPropsMixin » PrivateRegistryAccessProperty |
Describes the configuration for an Amazon Lightsail container service to access private container image repositories, such as ( Amazon ECR ) private repositories.
For more information, see Configuring access to an Amazon ECR private repository for an Amazon Lightsail container service in the Amazon Lightsail Developer Guide .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as lightsail_mixins } from '@aws-cdk/mixins-preview/aws-lightsail';
const privateRegistryAccessProperty: lightsail_mixins.CfnContainerPropsMixin.PrivateRegistryAccessProperty = {
ecrImagePullerRole: {
isActive: false,
principalArn: 'principalArn',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| ecr | IResolvable | Ecr | An object that describes the activation status of the role that you can use to grant a Lightsail container service access to Amazon ECR private repositories. |
ecrImagePullerRole?
Type:
IResolvable | Ecr
(optional)
An object that describes the activation status of the role that you can use to grant a Lightsail container service access to Amazon ECR private repositories.
If the role is activated, the Amazon Resource Name (ARN) of the role is also listed.

.NET
Go
Java
Python
TypeScript