AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes the activation status of the role that you can use to grant an Amazon Lightsail container service access to Amazon Elastic Container Registry (Amazon ECR) private repositories.

When activated, Lightsail creates an Identity and Access Management (IAM) role for the specified Lightsail container service. You can use the ARN of the role to create a trust relationship between your Lightsail container service and an Amazon ECR private repository in your Amazon Web Services account. This allows your container service to pull images from 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.

Inheritance Hierarchy

System.Object
  Amazon.Lightsail.Model.ContainerServiceECRImagePullerRole

Namespace: Amazon.Lightsail.Model
Assembly: AWSSDK.Lightsail.dll
Version: 3.x.y.z

Syntax

C#
public class ContainerServiceECRImagePullerRole

The ContainerServiceECRImagePullerRole type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property IsActive System.Boolean

Gets and sets the property IsActive.

A Boolean value that indicates whether the role is activated.

Public Property PrincipalArn System.String

Gets and sets the property PrincipalArn.

The Amazon Resource Name (ARN) of the role, if it is activated.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5