Class CfnContainer.PrivateRegistryAccessProperty
Describes the configuration for an Amazon Lightsail container service to access private container image repositories, such as Amazon Elastic Container Registry ( Amazon ECR ) private repositories.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Lightsail
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnContainer.PrivateRegistryAccessProperty : CfnContainer.IPrivateRegistryAccessProperty
Syntax (vb)
Public Class CfnContainer.PrivateRegistryAccessProperty Implements CfnContainer.IPrivateRegistryAccessProperty
Remarks
For more information, see Configuring access to an Amazon ECR private repository for an Amazon Lightsail container service in the Amazon Lightsail Developer Guide .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lightsail;
var privateRegistryAccessProperty = new PrivateRegistryAccessProperty {
EcrImagePullerRole = new EcrImagePullerRoleProperty {
IsActive = false,
PrincipalArn = "principalArn"
}
};
Synopsis
Constructors
PrivateRegistryAccessProperty() | Describes the configuration for an Amazon Lightsail container service to access private container image repositories, such as Amazon Elastic Container Registry ( Amazon ECR ) private repositories. |
Properties
EcrImagePullerRole | 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. |
Constructors
PrivateRegistryAccessProperty()
Describes the configuration for an Amazon Lightsail container service to access private container image repositories, such as Amazon Elastic Container Registry ( Amazon ECR ) private repositories.
public PrivateRegistryAccessProperty()
Remarks
For more information, see Configuring access to an Amazon ECR private repository for an Amazon Lightsail container service in the Amazon Lightsail Developer Guide .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lightsail;
var privateRegistryAccessProperty = new PrivateRegistryAccessProperty {
EcrImagePullerRole = new EcrImagePullerRoleProperty {
IsActive = false,
PrincipalArn = "principalArn"
}
};
Properties
EcrImagePullerRole
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.
public object? EcrImagePullerRole { get; set; }
Property Value
Remarks
If the role is activated, the Amazon Resource Name (ARN) of the role is also listed.