TargetContainerRepositoryProperty Struct
The container repository where the output container image is stored.
| 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_imagebuilder as imagebuilder } from 'aws-cdk-lib';
const targetContainerRepositoryProperty: imagebuilder.CfnContainerRecipe.TargetContainerRepositoryProperty = {
repositoryName: 'repositoryName',
service: 'service',
};
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_imagebuilder as imagebuilder
target_container_repository_property = imagebuilder.CfnContainerRecipe.TargetContainerRepositoryProperty(
repository_name="repositoryName",
service="service"
)
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.imagebuilder.*;
TargetContainerRepositoryProperty targetContainerRepositoryProperty = TargetContainerRepositoryProperty.builder()
.repositoryName("repositoryName")
.service("service")
.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.ImageBuilder;
var targetContainerRepositoryProperty = new TargetContainerRepositoryProperty {
RepositoryName = "repositoryName",
Service = "service"
};
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"
targetContainerRepositoryProperty := &TargetContainerRepositoryProperty{
RepositoryName: jsii.String("repositoryName"),
Service: jsii.String("service"),
}
Properties
repositoryNameoptionalstringrepository_nameoptionalstrrepositoryNameoptionalStringRepositoryNameoptionalstringRepositoryNameoptional*string #The name of the container repository where the output container image is stored.
This name is prefixed by the repository location. For example, <repository location url>/repository_name .
serviceoptionalstringserviceoptionalstrserviceoptionalStringServiceoptionalstringServiceoptional*string #Specifies the service in which this image was registered.