nuage.aws.Repository
Explore with Pulumi AI
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?: ComponentResourceOptions);
@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, ComponentResourceOptions? opts = null)
public Repository(String name, RepositoryArgs args)
public Repository(String name, RepositoryArgs args, ComponentResourceOptions 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 ComponentResourceOptions
- 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 ComponentResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RepositoryArgs
- The arguments to resource properties.
- options ComponentResourceOptions
- 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Repository resource accepts the following input properties:
- Expire
In intDays - Number of days for expiring images using LifecyclePolicy.
- Name string
- Name of the resource.
- Name
Prefix string - Name prefix as an alternative to name and adds random suffix at the end.
- Expire
In intDays - Number of days for expiring images using LifecyclePolicy.
- Name string
- Name of the resource.
- Name
Prefix string - Name prefix as an alternative to name and adds random suffix at the end.
- expire
In IntegerDays - Number of days for expiring images using LifecyclePolicy.
- name String
- Name of the resource.
- name
Prefix String - Name prefix as an alternative to name and adds random suffix at the end.
- expire
In numberDays - Number of days for expiring images using LifecyclePolicy.
- name string
- Name of the resource.
- name
Prefix string - Name prefix as an alternative to name and adds random suffix at the end.
- expire_
in_ intdays - 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.
- expire
In NumberDays - Number of days for expiring images using LifecyclePolicy.
- name String
- Name of the resource.
- name
Prefix 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