Class CfnContainer.EcrImagePullerRoleProperty
Describes the IAM role that you can use to grant a Lightsail container service access to Amazon ECR private repositories.
Inheritance
System.Object
CfnContainer.EcrImagePullerRoleProperty
Implements
Namespace: Amazon.CDK.AWS.Lightsail
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class EcrImagePullerRoleProperty : Object, CfnContainer.IEcrImagePullerRoleProperty
Syntax (vb)
Public Class EcrImagePullerRoleProperty
Inherits Object
Implements CfnContainer.IEcrImagePullerRoleProperty
Remarks
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 ecrImagePullerRoleProperty = new EcrImagePullerRoleProperty {
IsActive = false,
PrincipalArn = "principalArn"
};
Synopsis
Constructors
EcrImagePullerRoleProperty() |
Properties
IsActive | A boolean value that indicates whether the |
PrincipalArn | The principle Amazon Resource Name (ARN) of the role. |
Constructors
EcrImagePullerRoleProperty()
public EcrImagePullerRoleProperty()
Properties
IsActive
A boolean value that indicates whether the ECRImagePullerRole
is active.
public object IsActive { get; set; }
Property Value
System.Object
Remarks
PrincipalArn
The principle Amazon Resource Name (ARN) of the role.
public string PrincipalArn { get; set; }
Property Value
System.String