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

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 This property is required. string
The unique name of the resource.
args This property is required. EcrRegistryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. EcrRegistryArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. EcrRegistryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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",
});
Copy
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"),
})
Copy
var ecrRegistryResource = new EcrRegistry("ecrRegistryResource", EcrRegistryArgs.builder()
    .credentialsAuth(EcrRegistryCredentialsAuthArgs.builder()
        .accessKeyId("string")
        .secretAccessKey("string")
        .build())
    .region("string")
    .name("string")
    .build());
Copy
ecr_registry_resource = prodvana.EcrRegistry("ecrRegistryResource",
    credentials_auth={
        "access_key_id": "string",
        "secret_access_key": "string",
    },
    region="string",
    name="string")
Copy
const ecrRegistryResource = new prodvana.EcrRegistry("ecrRegistryResource", {
    credentialsAuth: {
        accessKeyId: "string",
        secretAccessKey: "string",
    },
    region: "string",
    name: "string",
});
Copy
type: prodvana:EcrRegistry
properties:
    credentialsAuth:
        accessKeyId: string
        secretAccessKey: string
    name: string
    region: string
Copy

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

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The EcrRegistry resource accepts the following input properties:

CredentialsAuth This property is required. EcrRegistryCredentialsAuth
Credentials to authenticate with the ECR registry.
Region This property is required. string
AWS region where the ECR registry is located.
Name string
Name for the ECR registry, used to reference it in Prodvana configuration.
CredentialsAuth This property is required. EcrRegistryCredentialsAuthArgs
Credentials to authenticate with the ECR registry.
Region This property is required. string
AWS region where the ECR registry is located.
Name string
Name for the ECR registry, used to reference it in Prodvana configuration.
credentialsAuth This property is required. EcrRegistryCredentialsAuth
Credentials to authenticate with the ECR registry.
region This property is required. String
AWS region where the ECR registry is located.
name String
Name for the ECR registry, used to reference it in Prodvana configuration.
credentialsAuth This property is required. EcrRegistryCredentialsAuth
Credentials to authenticate with the ECR registry.
region This property is required. 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 This property is required. EcrRegistryCredentialsAuthArgs
Credentials to authenticate with the ECR registry.
region This property is required. str
AWS region where the ECR registry is located.
name str
Name for the ECR registry, used to reference it in Prodvana configuration.
credentialsAuth This property is required. Property Map
Credentials to authenticate with the ECR registry.
region This property is required. 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)
resources:  _:    type: prodvana:EcrRegistry    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required. string
AWS Access Key ID with permissions to the ECR registry
SecretAccessKey This property is required. string
AWS Secret Access Key with permissions to the ECR registry
AccessKeyId This property is required. string
AWS Access Key ID with permissions to the ECR registry
SecretAccessKey This property is required. string
AWS Secret Access Key with permissions to the ECR registry
accessKeyId This property is required. String
AWS Access Key ID with permissions to the ECR registry
secretAccessKey This property is required. String
AWS Secret Access Key with permissions to the ECR registry
accessKeyId This property is required. string
AWS Access Key ID with permissions to the ECR registry
secretAccessKey This property is required. string
AWS Secret Access Key with permissions to the ECR registry
access_key_id This property is required. str
AWS Access Key ID with permissions to the ECR registry
secret_access_key This property is required. str
AWS Secret Access Key with permissions to the ECR registry
accessKeyId This property is required. String
AWS Access Key ID with permissions to the ECR registry
secretAccessKey This property is required. 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.