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:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnContainer.PrivateRegistryAccessProperty
static final class
An implementation forCfnContainer.PrivateRegistryAccessProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEcrImagePullerRole
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.
- See Also:
-
builder
-