1. Packages
  2. Pulumi Nuage
  3. API Docs
  4. aws
  5. Repository
nuage v0.1.1 published on Friday, Mar 17, 2023 by Nuage-Studio

nuage.aws.Repository

Explore with Pulumi AI

nuage logo
nuage v0.1.1 published on Friday, Mar 17, 2023 by Nuage-Studio

    Creates ECR Repository with a lifecycle policy. url output of this component can be used within container function to push your images.

    Example Usage

    Basic Example

    Coming soon!

    Coming soon!

    Coming soon!

    import pulumi_nuage as nuage
    
    repository = nuage.aws.Repository(
        "foo",
        name="repository",
        expire_in_days=30,
    )
    

    Coming soon!

    Coming soon!

    Create Repository Resource

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

    Constructor syntax

    new Repository(name: string, args?: RepositoryArgs, opts?: CustomResourceOptions);
    @overload
    def Repository(resource_name: str,
                   args: Optional[RepositoryArgs] = None,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def Repository(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   expire_in_days: Optional[int] = None,
                   name: Optional[str] = None,
                   name_prefix: Optional[str] = None)
    func NewRepository(ctx *Context, name string, args *RepositoryArgs, opts ...ResourceOption) (*Repository, error)
    public Repository(string name, RepositoryArgs? args = null, CustomResourceOptions? opts = null)
    public Repository(String name, RepositoryArgs args)
    public Repository(String name, RepositoryArgs args, CustomResourceOptions options)
    
    type: nuage:aws:Repository
    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 RepositoryArgs
    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 RepositoryArgs
    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 RepositoryArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RepositoryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RepositoryArgs
    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 repositoryResource = new Nuage.Aws.Repository("repositoryResource", new()
    {
        ExpireInDays = 0,
        Name = "string",
        NamePrefix = "string",
    });
    
    example, err := aws.NewRepository(ctx, "repositoryResource", &aws.RepositoryArgs{
    	ExpireInDays: pulumi.Int(0),
    	Name:         pulumi.String("string"),
    	NamePrefix:   pulumi.String("string"),
    })
    
    var repositoryResource = new Repository("repositoryResource", RepositoryArgs.builder()
        .expireInDays(0)
        .name("string")
        .namePrefix("string")
        .build());
    
    repository_resource = nuage.aws.Repository("repositoryResource",
        expire_in_days=0,
        name="string",
        name_prefix="string")
    
    const repositoryResource = new nuage.aws.Repository("repositoryResource", {
        expireInDays: 0,
        name: "string",
        namePrefix: "string",
    });
    
    type: nuage:aws:Repository
    properties:
        expireInDays: 0
        name: string
        namePrefix: string
    

    Repository 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 Repository resource accepts the following input properties:

    ExpireInDays int
    Number of days for expiring images using LifecyclePolicy.
    Name string
    Name of the resource.
    NamePrefix string
    Name prefix as an alternative to name and adds random suffix at the end.
    ExpireInDays int
    Number of days for expiring images using LifecyclePolicy.
    Name string
    Name of the resource.
    NamePrefix string
    Name prefix as an alternative to name and adds random suffix at the end.
    expireInDays Integer
    Number of days for expiring images using LifecyclePolicy.
    name String
    Name of the resource.
    namePrefix String
    Name prefix as an alternative to name and adds random suffix at the end.
    expireInDays number
    Number of days for expiring images using LifecyclePolicy.
    name string
    Name of the resource.
    namePrefix string
    Name prefix as an alternative to name and adds random suffix at the end.
    expire_in_days int
    Number of days for expiring images using LifecyclePolicy.
    name str
    Name of the resource.
    name_prefix str
    Name prefix as an alternative to name and adds random suffix at the end.
    expireInDays Number
    Number of days for expiring images using LifecyclePolicy.
    name String
    Name of the resource.
    namePrefix String
    Name prefix as an alternative to name and adds random suffix at the end.

    Outputs

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

    Arn string
    ARN (Amazon Resource Name) of the repository
    Id string
    Id of the repository
    Registry_id string
    Registry id of the repository
    Url string
    URL of the repository
    Arn string
    ARN (Amazon Resource Name) of the repository
    Id string
    Id of the repository
    Registry_id string
    Registry id of the repository
    Url string
    URL of the repository
    arn String
    ARN (Amazon Resource Name) of the repository
    id String
    Id of the repository
    registry_id String
    Registry id of the repository
    url String
    URL of the repository
    arn string
    ARN (Amazon Resource Name) of the repository
    id string
    Id of the repository
    registry_id string
    Registry id of the repository
    url string
    URL of the repository
    arn str
    ARN (Amazon Resource Name) of the repository
    id str
    Id of the repository
    registry_id str
    Registry id of the repository
    url str
    URL of the repository
    arn String
    ARN (Amazon Resource Name) of the repository
    id String
    Id of the repository
    registry_id String
    Registry id of the repository
    url String
    URL of the repository

    Package Details

    Repository
    nuage
    License
    Apache-2.0
    nuage logo
    nuage v0.1.1 published on Friday, Mar 17, 2023 by Nuage-Studio