Interface CfnContainer.EcrImagePullerRoleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnContainer.EcrImagePullerRoleProperty.Jsii$Proxy
- Enclosing class:
CfnContainer
@Stability(Stable)
public static interface CfnContainer.EcrImagePullerRoleProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.lightsail.*;
EcrImagePullerRoleProperty ecrImagePullerRoleProperty = EcrImagePullerRoleProperty.builder()
.isActive(false)
.principalArn("principalArn")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnContainer.EcrImagePullerRolePropertystatic final classAn implementation forCfnContainer.EcrImagePullerRoleProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIsActive
A boolean value that indicates whether theECRImagePullerRoleis active.Returns union: either
BooleanorIResolvable- See Also:
-
getPrincipalArn
The principle Amazon Resource Name (ARN) of the role.This property is read-only.
- See Also:
-
builder
-