Interface CfnContainer.PrivateRegistryAccessProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnContainer.PrivateRegistryAccessProperty.Jsii$Proxy
Enclosing class:
CfnContainer

@Stability(Stable) public static interface CfnContainer.PrivateRegistryAccessProperty extends software.amazon.jsii.JsiiSerializable
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.

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 software.amazon.awscdk.services.lightsail.*;
 PrivateRegistryAccessProperty privateRegistryAccessProperty = PrivateRegistryAccessProperty.builder()
         .ecrImagePullerRole(EcrImagePullerRoleProperty.builder()
                 .isActive(false)
                 .principalArn("principalArn")
                 .build())
         .build();
 

See Also: