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