Show / Hide Table of Contents

Class CfnContainer.PrivateRegistryAccessProperty

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.

Inheritance
object
CfnContainer.PrivateRegistryAccessProperty
Implements
CfnContainer.IPrivateRegistryAccessProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Lightsail
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnContainer.PrivateRegistryAccessProperty : CfnContainer.IPrivateRegistryAccessProperty
Syntax (vb)
Public Class CfnContainer.PrivateRegistryAccessProperty Implements CfnContainer.IPrivateRegistryAccessProperty
Remarks

For more information, see Configuring access to an Amazon ECR private repository for an Amazon Lightsail container service in the Amazon Lightsail Developer Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-container-privateregistryaccess.html

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 privateRegistryAccessProperty = new PrivateRegistryAccessProperty {
                 EcrImagePullerRole = new EcrImagePullerRoleProperty {
                     IsActive = false,
                     PrincipalArn = "principalArn"
                 }
             };

Synopsis

Constructors

PrivateRegistryAccessProperty()

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.

Properties

EcrImagePullerRole

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.

Constructors

PrivateRegistryAccessProperty()

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.

public PrivateRegistryAccessProperty()
Remarks

For more information, see Configuring access to an Amazon ECR private repository for an Amazon Lightsail container service in the Amazon Lightsail Developer Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-container-privateregistryaccess.html

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 privateRegistryAccessProperty = new PrivateRegistryAccessProperty {
                 EcrImagePullerRole = new EcrImagePullerRoleProperty {
                     IsActive = false,
                     PrincipalArn = "principalArn"
                 }
             };

Properties

EcrImagePullerRole

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.

public object? EcrImagePullerRole { get; set; }
Property Value

object

Remarks

If the role is activated, the Amazon Resource Name (ARN) of the role is also listed.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-container-privateregistryaccess.html#cfn-lightsail-container-privateregistryaccess-ecrimagepullerrole

Implements

CfnContainer.IPrivateRegistryAccessProperty
Back to top Generated by DocFX