public static interface CfnTaskDefinition.RepositoryCredentialsProperty
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ecs.*; RepositoryCredentialsProperty repositoryCredentialsProperty = RepositoryCredentialsProperty.builder() .credentialsParameter("credentialsParameter") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnTaskDefinition.RepositoryCredentialsProperty.Builder
A builder for
CfnTaskDefinition.RepositoryCredentialsProperty |
static class |
CfnTaskDefinition.RepositoryCredentialsProperty.Jsii$Proxy
An implementation for
CfnTaskDefinition.RepositoryCredentialsProperty |
Modifier and Type | Method and Description |
---|---|
static CfnTaskDefinition.RepositoryCredentialsProperty.Builder |
builder() |
default java.lang.String |
getCredentialsParameter()
The Amazon Resource Name (ARN) of the secret containing the private repository credentials.
|
default java.lang.String getCredentialsParameter()
When you use the Amazon ECS API, AWS CLI , or AWS SDK, if the secret exists in the same Region as the task that you're launching then you can use either the full ARN or the name of the secret. When you use the AWS Management Console, you must specify the full ARN of the secret.
static CfnTaskDefinition.RepositoryCredentialsProperty.Builder builder()