Documentation ¶
Index ¶
- type GetCredentialsArgs
- type GetCredentialsResult
- type GetRepositoryArgs
- type GetRepositoryResult
- type LifecyclePolicy
- type LifecyclePolicyArgs
- type LifecyclePolicyState
- type Repository
- type RepositoryArgs
- type RepositoryPolicy
- type RepositoryPolicyArgs
- type RepositoryPolicyState
- type RepositoryState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetCredentialsArgs ¶
type GetCredentialsArgs struct {
RegistryId interface{}
}
A collection of arguments for invoking getCredentials.
type GetCredentialsResult ¶
type GetCredentialsResult struct { AuthorizationToken interface{} ExpiresAt interface{} ProxyEndpoint interface{} }
A collection of values returned by getCredentials.
func LookupCredentials ¶
func LookupCredentials(ctx *pulumi.Context, args *GetCredentialsArgs) (*GetCredentialsResult, error)
type GetRepositoryArgs ¶
type GetRepositoryArgs struct {
// The name of the ECR Repository.
Name interface{}
}
A collection of arguments for invoking getRepository.
type GetRepositoryResult ¶
type GetRepositoryResult struct { // Full ARN of the repository. Arn interface{} // The registry ID where the repository was created. RegistryId interface{} // The URL of the repository (in the form `aws_account_id.dkr.ecr.region.amazonaws.com/repositoryName`). RepositoryUrl interface{} }
A collection of values returned by getRepository.
func LookupRepository ¶
func LookupRepository(ctx *pulumi.Context, args *GetRepositoryArgs) (*GetRepositoryResult, error)
The ECR Repository data source allows the ARN, Repository URI and Registry ID to be retrieved for an ECR repository.
type LifecyclePolicy ¶
type LifecyclePolicy struct {
// contains filtered or unexported fields
}
Provides an ECR lifecycle policy.
func GetLifecyclePolicy ¶
func GetLifecyclePolicy(ctx *pulumi.Context, name string, id pulumi.ID, state *LifecyclePolicyState, opts ...pulumi.ResourceOpt) (*LifecyclePolicy, error)
GetLifecyclePolicy gets an existing LifecyclePolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewLifecyclePolicy ¶
func NewLifecyclePolicy(ctx *pulumi.Context, name string, args *LifecyclePolicyArgs, opts ...pulumi.ResourceOpt) (*LifecyclePolicy, error)
NewLifecyclePolicy registers a new resource with the given unique name, arguments, and options.
func (*LifecyclePolicy) ID ¶
func (r *LifecyclePolicy) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*LifecyclePolicy) Policy ¶
func (r *LifecyclePolicy) Policy() *pulumi.StringOutput
The policy document. This is a JSON formatted string. See more details about [Policy Parameters](http://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html#lifecycle_policy_parameters) in the official AWS docs.
func (*LifecyclePolicy) RegistryId ¶
func (r *LifecyclePolicy) RegistryId() *pulumi.StringOutput
The registry ID where the repository was created.
func (*LifecyclePolicy) Repository ¶
func (r *LifecyclePolicy) Repository() *pulumi.StringOutput
Name of the repository to apply the policy.
func (*LifecyclePolicy) URN ¶
func (r *LifecyclePolicy) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type LifecyclePolicyArgs ¶
type LifecyclePolicyArgs struct { // The policy document. This is a JSON formatted string. See more details about [Policy Parameters](http://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html#lifecycle_policy_parameters) in the official AWS docs. Policy interface{} // Name of the repository to apply the policy. Repository interface{} }
The set of arguments for constructing a LifecyclePolicy resource.
type LifecyclePolicyState ¶
type LifecyclePolicyState struct { // The policy document. This is a JSON formatted string. See more details about [Policy Parameters](http://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html#lifecycle_policy_parameters) in the official AWS docs. Policy interface{} // The registry ID where the repository was created. RegistryId interface{} // Name of the repository to apply the policy. Repository interface{} }
Input properties used for looking up and filtering LifecyclePolicy resources.
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
Provides an EC2 Container Registry Repository.
~> **NOTE on ECR Availability**: The EC2 Container Registry is not yet rolled out in all regions - available regions are listed [the AWS Docs](https://docs.aws.amazon.com/general/latest/gr/rande.html#ecr_region).
func GetRepository ¶
func GetRepository(ctx *pulumi.Context, name string, id pulumi.ID, state *RepositoryState, opts ...pulumi.ResourceOpt) (*Repository, error)
GetRepository gets an existing Repository resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRepository ¶
func NewRepository(ctx *pulumi.Context, name string, args *RepositoryArgs, opts ...pulumi.ResourceOpt) (*Repository, error)
NewRepository registers a new resource with the given unique name, arguments, and options.
func (*Repository) Arn ¶
func (r *Repository) Arn() *pulumi.StringOutput
Full ARN of the repository.
func (*Repository) ID ¶
func (r *Repository) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*Repository) RegistryId ¶
func (r *Repository) RegistryId() *pulumi.StringOutput
The registry ID where the repository was created.
func (*Repository) RepositoryUrl ¶
func (r *Repository) RepositoryUrl() *pulumi.StringOutput
The URL of the repository (in the form `aws_account_id.dkr.ecr.region.amazonaws.com/repositoryName`
func (*Repository) URN ¶
func (r *Repository) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type RepositoryArgs ¶
type RepositoryArgs struct {
// Name of the repository.
Name interface{}
}
The set of arguments for constructing a Repository resource.
type RepositoryPolicy ¶
type RepositoryPolicy struct {
// contains filtered or unexported fields
}
Provides an ECR repository policy.
Note that currently only one policy may be applied to a repository.
~> **NOTE on ECR Availability**: The EC2 Container Registry is not yet rolled out in all regions - available regions are listed [the AWS Docs](https://docs.aws.amazon.com/general/latest/gr/rande.html#ecr_region).
func GetRepositoryPolicy ¶
func GetRepositoryPolicy(ctx *pulumi.Context, name string, id pulumi.ID, state *RepositoryPolicyState, opts ...pulumi.ResourceOpt) (*RepositoryPolicy, error)
GetRepositoryPolicy gets an existing RepositoryPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRepositoryPolicy ¶
func NewRepositoryPolicy(ctx *pulumi.Context, name string, args *RepositoryPolicyArgs, opts ...pulumi.ResourceOpt) (*RepositoryPolicy, error)
NewRepositoryPolicy registers a new resource with the given unique name, arguments, and options.
func (*RepositoryPolicy) ID ¶
func (r *RepositoryPolicy) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*RepositoryPolicy) Policy ¶
func (r *RepositoryPolicy) Policy() *pulumi.StringOutput
The policy document. This is a JSON formatted string.
func (*RepositoryPolicy) RegistryId ¶
func (r *RepositoryPolicy) RegistryId() *pulumi.StringOutput
The registry ID where the repository was created.
func (*RepositoryPolicy) Repository ¶
func (r *RepositoryPolicy) Repository() *pulumi.StringOutput
Name of the repository to apply the policy.
func (*RepositoryPolicy) URN ¶
func (r *RepositoryPolicy) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type RepositoryPolicyArgs ¶
type RepositoryPolicyArgs struct { // The policy document. This is a JSON formatted string. Policy interface{} // Name of the repository to apply the policy. Repository interface{} }
The set of arguments for constructing a RepositoryPolicy resource.
type RepositoryPolicyState ¶
type RepositoryPolicyState struct { // The policy document. This is a JSON formatted string. Policy interface{} // The registry ID where the repository was created. RegistryId interface{} // Name of the repository to apply the policy. Repository interface{} }
Input properties used for looking up and filtering RepositoryPolicy resources.
type RepositoryState ¶
type RepositoryState struct { // Full ARN of the repository. Arn interface{} // Name of the repository. Name interface{} // The registry ID where the repository was created. RegistryId interface{} // The URL of the repository (in the form `aws_account_id.dkr.ecr.region.amazonaws.com/repositoryName` RepositoryUrl interface{} }
Input properties used for looking up and filtering Repository resources.