ExpressGatewayRepositoryCredentialsProperty Struct
The repository credentials for private registry authentication to pass to the container.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as ecs } from 'aws-cdk-lib';
const expressGatewayRepositoryCredentialsProperty: ecs.CfnExpressGatewayService.ExpressGatewayRepositoryCredentialsProperty = {
credentialsParameter: 'credentialsParameter',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ecs as ecs
express_gateway_repository_credentials_property = ecs.CfnExpressGatewayService.ExpressGatewayRepositoryCredentialsProperty(
credentials_parameter="credentialsParameter"
)
java
// 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.*;
ExpressGatewayRepositoryCredentialsProperty expressGatewayRepositoryCredentialsProperty = ExpressGatewayRepositoryCredentialsProperty.builder()
.credentialsParameter("credentialsParameter")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECS;
var expressGatewayRepositoryCredentialsProperty = new ExpressGatewayRepositoryCredentialsProperty {
CredentialsParameter = "credentialsParameter"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
expressGatewayRepositoryCredentialsProperty := &ExpressGatewayRepositoryCredentialsProperty{
CredentialsParameter: jsii.String("credentialsParameter"),
}
Properties
credentialsParameterstringcredentials_parameterstrcredentialsParameterStringCredentialsParameterstringCredentialsParameter*string required #The Amazon Resource Name (ARN) of the secret containing the private repository credentials.