1. Packages
  2. Prodvana
  3. API Docs
  4. EcrRegistry
Prodvana v0.1.20 published on Tuesday, Apr 2, 2024 by Prodvana

prodvana.EcrRegistry

Explore with Pulumi AI

prodvana logo
Prodvana v0.1.20 published on Tuesday, Apr 2, 2024 by Prodvana

    This resource allows you to link an ECR registry to Prodvana.

    Create EcrRegistry Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new EcrRegistry(name: string, args: EcrRegistryArgs, opts?: CustomResourceOptions);
    @overload
    def EcrRegistry(resource_name: str,
                    args: EcrRegistryArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def EcrRegistry(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    credentials_auth: Optional[EcrRegistryCredentialsAuthArgs] = None,
                    region: Optional[str] = None,
                    name: Optional[str] = None)
    func NewEcrRegistry(ctx *Context, name string, args EcrRegistryArgs, opts ...ResourceOption) (*EcrRegistry, error)
    public EcrRegistry(string name, EcrRegistryArgs args, CustomResourceOptions? opts = null)
    public EcrRegistry(String name, EcrRegistryArgs args)
    public EcrRegistry(String name, EcrRegistryArgs args, CustomResourceOptions options)
    
    type: prodvana:EcrRegistry
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args EcrRegistryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args EcrRegistryArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args EcrRegistryArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EcrRegistryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EcrRegistryArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var ecrRegistryResource = new Prodvana.EcrRegistry("ecrRegistryResource", new()
    {
        CredentialsAuth = new Prodvana.Inputs.EcrRegistryCredentialsAuthArgs
        {
            AccessKeyId = "string",
            SecretAccessKey = "string",
        },
        Region = "string",
        Name = "string",
    });
    
    example, err := prodvana.NewEcrRegistry(ctx, "ecrRegistryResource", &prodvana.EcrRegistryArgs{
    	CredentialsAuth: &prodvana.EcrRegistryCredentialsAuthArgs{
    		AccessKeyId:     pulumi.String("string"),
    		SecretAccessKey: pulumi.String("string"),
    	},
    	Region: pulumi.String("string"),
    	Name:   pulumi.String("string"),
    })
    
    var ecrRegistryResource = new EcrRegistry("ecrRegistryResource", EcrRegistryArgs.builder()
        .credentialsAuth(EcrRegistryCredentialsAuthArgs.builder()
            .accessKeyId("string")
            .secretAccessKey("string")
            .build())
        .region("string")
        .name("string")
        .build());
    
    ecr_registry_resource = prodvana.EcrRegistry("ecrRegistryResource",
        credentials_auth=prodvana.EcrRegistryCredentialsAuthArgs(
            access_key_id="string",
            secret_access_key="string",
        ),
        region="string",
        name="string")
    
    const ecrRegistryResource = new prodvana.EcrRegistry("ecrRegistryResource", {
        credentialsAuth: {
            accessKeyId: "string",
            secretAccessKey: "string",
        },
        region: "string",
        name: "string",
    });
    
    type: prodvana:EcrRegistry
    properties:
        credentialsAuth:
            accessKeyId: string
            secretAccessKey: string
        name: string
        region: string
    

    EcrRegistry Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The EcrRegistry resource accepts the following input properties:

    CredentialsAuth EcrRegistryCredentialsAuth
    Credentials to authenticate with the ECR registry.
    Region string
    AWS region where the ECR registry is located.
    Name string
    Name for the ECR registry, used to reference it in Prodvana configuration.
    CredentialsAuth EcrRegistryCredentialsAuthArgs
    Credentials to authenticate with the ECR registry.
    Region string
    AWS region where the ECR registry is located.
    Name string
    Name for the ECR registry, used to reference it in Prodvana configuration.
    credentialsAuth EcrRegistryCredentialsAuth
    Credentials to authenticate with the ECR registry.
    region String
    AWS region where the ECR registry is located.
    name String
    Name for the ECR registry, used to reference it in Prodvana configuration.
    credentialsAuth EcrRegistryCredentialsAuth
    Credentials to authenticate with the ECR registry.
    region string
    AWS region where the ECR registry is located.
    name string
    Name for the ECR registry, used to reference it in Prodvana configuration.
    credentials_auth EcrRegistryCredentialsAuthArgs
    Credentials to authenticate with the ECR registry.
    region str
    AWS region where the ECR registry is located.
    name str
    Name for the ECR registry, used to reference it in Prodvana configuration.
    credentialsAuth Property Map
    Credentials to authenticate with the ECR registry.
    region String
    AWS region where the ECR registry is located.
    name String
    Name for the ECR registry, used to reference it in Prodvana configuration.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the EcrRegistry resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing EcrRegistry Resource

    Get an existing EcrRegistry resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: EcrRegistryState, opts?: CustomResourceOptions): EcrRegistry
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            credentials_auth: Optional[EcrRegistryCredentialsAuthArgs] = None,
            name: Optional[str] = None,
            region: Optional[str] = None) -> EcrRegistry
    func GetEcrRegistry(ctx *Context, name string, id IDInput, state *EcrRegistryState, opts ...ResourceOption) (*EcrRegistry, error)
    public static EcrRegistry Get(string name, Input<string> id, EcrRegistryState? state, CustomResourceOptions? opts = null)
    public static EcrRegistry get(String name, Output<String> id, EcrRegistryState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CredentialsAuth EcrRegistryCredentialsAuth
    Credentials to authenticate with the ECR registry.
    Name string
    Name for the ECR registry, used to reference it in Prodvana configuration.
    Region string
    AWS region where the ECR registry is located.
    CredentialsAuth EcrRegistryCredentialsAuthArgs
    Credentials to authenticate with the ECR registry.
    Name string
    Name for the ECR registry, used to reference it in Prodvana configuration.
    Region string
    AWS region where the ECR registry is located.
    credentialsAuth EcrRegistryCredentialsAuth
    Credentials to authenticate with the ECR registry.
    name String
    Name for the ECR registry, used to reference it in Prodvana configuration.
    region String
    AWS region where the ECR registry is located.
    credentialsAuth EcrRegistryCredentialsAuth
    Credentials to authenticate with the ECR registry.
    name string
    Name for the ECR registry, used to reference it in Prodvana configuration.
    region string
    AWS region where the ECR registry is located.
    credentials_auth EcrRegistryCredentialsAuthArgs
    Credentials to authenticate with the ECR registry.
    name str
    Name for the ECR registry, used to reference it in Prodvana configuration.
    region str
    AWS region where the ECR registry is located.
    credentialsAuth Property Map
    Credentials to authenticate with the ECR registry.
    name String
    Name for the ECR registry, used to reference it in Prodvana configuration.
    region String
    AWS region where the ECR registry is located.

    Supporting Types

    EcrRegistryCredentialsAuth, EcrRegistryCredentialsAuthArgs

    AccessKeyId string
    AWS Access Key ID with permissions to the ECR registry
    SecretAccessKey string
    AWS Secret Access Key with permissions to the ECR registry
    AccessKeyId string
    AWS Access Key ID with permissions to the ECR registry
    SecretAccessKey string
    AWS Secret Access Key with permissions to the ECR registry
    accessKeyId String
    AWS Access Key ID with permissions to the ECR registry
    secretAccessKey String
    AWS Secret Access Key with permissions to the ECR registry
    accessKeyId string
    AWS Access Key ID with permissions to the ECR registry
    secretAccessKey string
    AWS Secret Access Key with permissions to the ECR registry
    access_key_id str
    AWS Access Key ID with permissions to the ECR registry
    secret_access_key str
    AWS Secret Access Key with permissions to the ECR registry
    accessKeyId String
    AWS Access Key ID with permissions to the ECR registry
    secretAccessKey String
    AWS Secret Access Key with permissions to the ECR registry

    Package Details

    Repository
    prodvana prodvana/pulumi-prodvana
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the prodvana Terraform Provider.
    prodvana logo
    Prodvana v0.1.20 published on Tuesday, Apr 2, 2024 by Prodvana