aws.ecr.getCredentials
Using getCredentials
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCredentials(args: GetCredentialsArgs, opts?: InvokeOptions): Promise<GetCredentialsResult>
function getCredentialsOutput(args: GetCredentialsOutputArgs, opts?: InvokeOptions): Output<GetCredentialsResult>
def get_credentials(registry_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCredentialsResult
def get_credentials_output(registry_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCredentialsResult]
func GetCredentials(ctx *Context, args *GetCredentialsArgs, opts ...InvokeOption) (*GetCredentialsResult, error)
func GetCredentialsOutput(ctx *Context, args *GetCredentialsOutputArgs, opts ...InvokeOption) GetCredentialsResultOutput
> Note: This function is named GetCredentials
in the Go SDK.
public static class GetCredentials
{
public static Task<GetCredentialsResult> InvokeAsync(GetCredentialsArgs args, InvokeOptions? opts = null)
public static Output<GetCredentialsResult> Invoke(GetCredentialsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCredentialsResult> getCredentials(GetCredentialsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws:ecr/getCredentials:getCredentials
arguments:
# arguments dictionary
The following arguments are supported:
- Registry
Id string
- Registry
Id string
- registry
Id String
- registry
Id string
- registry_
id str
- registry
Id String
getCredentials Result
The following output properties are available:
- string
- Expires
At string - Id string
The provider-assigned unique ID for this managed resource.
- Proxy
Endpoint string - Registry
Id string
- string
- Expires
At string - Id string
The provider-assigned unique ID for this managed resource.
- Proxy
Endpoint string - Registry
Id string
- String
- expires
At String - id String
The provider-assigned unique ID for this managed resource.
- proxy
Endpoint String - registry
Id String
- string
- expires
At string - id string
The provider-assigned unique ID for this managed resource.
- proxy
Endpoint string - registry
Id string
- str
- expires_
at str - id str
The provider-assigned unique ID for this managed resource.
- proxy_
endpoint str - registry_
id str
- String
- expires
At String - id String
The provider-assigned unique ID for this managed resource.
- proxy
Endpoint String - registry
Id String
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aws
Terraform Provider.