AWS v6.73.0 published on Wednesday, Mar 19, 2025 by Pulumi
aws.ecr.getCredentials
Explore with Pulumi AI
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)
public static Output<GetCredentialsResult> getCredentials(GetCredentialsArgs args, InvokeOptions options)
fn::invoke:
  function: aws:ecr/getCredentials:getCredentials
  arguments:
    # arguments dictionaryThe following arguments are supported:
- RegistryId string
- RegistryId string
- registryId String
- registryId string
- registry_id str
- registryId String
getCredentials Result
The following output properties are available:
- string
- ExpiresAt string
- Id string
- The provider-assigned unique ID for this managed resource.
- ProxyEndpoint string
- RegistryId string
- string
- ExpiresAt string
- Id string
- The provider-assigned unique ID for this managed resource.
- ProxyEndpoint string
- RegistryId string
- String
- expiresAt String
- id String
- The provider-assigned unique ID for this managed resource.
- proxyEndpoint String
- registryId String
- string
- expiresAt string
- id string
- The provider-assigned unique ID for this managed resource.
- proxyEndpoint string
- registryId string
- str
- expires_at str
- id str
- The provider-assigned unique ID for this managed resource.
- proxy_endpoint str
- registry_id str
- String
- expiresAt String
- id String
- The provider-assigned unique ID for this managed resource.
- proxyEndpoint String
- registryId String
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.