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 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={
"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
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:
- Credentials
Auth EcrRegistry Credentials Auth - 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 EcrRegistry Credentials Auth Args - 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 EcrRegistry Credentials Auth - 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 EcrRegistry Credentials Auth - 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 EcrRegistry Credentials Auth Args - 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.
- credentials
Auth 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.
- Credentials
Auth EcrRegistry Credentials Auth - 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 EcrRegistry Credentials Auth Args - 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 EcrRegistry Credentials Auth - 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 EcrRegistry Credentials Auth - 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 EcrRegistry Credentials Auth Args - 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.
- credentials
Auth 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
- Access
Key stringId - AWS Access Key ID with permissions to the ECR registry
- Secret
Access stringKey - AWS Secret Access Key with permissions to the ECR registry
- Access
Key stringId - AWS Access Key ID with permissions to the ECR registry
- Secret
Access stringKey - AWS Secret Access Key with permissions to the ECR registry
- access
Key StringId - AWS Access Key ID with permissions to the ECR registry
- secret
Access StringKey - AWS Secret Access Key with permissions to the ECR registry
- access
Key stringId - AWS Access Key ID with permissions to the ECR registry
- secret
Access stringKey - AWS Secret Access Key with permissions to the ECR registry
- access_
key_ strid - AWS Access Key ID with permissions to the ECR registry
- secret_
access_ strkey - AWS Secret Access Key with permissions to the ECR registry
- access
Key StringId - AWS Access Key ID with permissions to the ECR registry
- secret
Access StringKey - 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.