Classes
Name | Description |
---|---|
DockerImageName | No description |
ECRDeployment | No description |
S3ArchiveName | No description |
Structs
Name | Description |
---|---|
ECRDeploymentProps | No description |
Interfaces
Name | Description |
---|---|
IImageName | No description |
Implements: IImageName
new DockerImageName(name: string, creds?: string)
- name (
string
) No description - creds (
string
) The credentials of the docker image.
Name | Type | Description |
---|---|---|
uri | string |
The uri of the docker image. |
creds? | string |
The credentials of the docker image. Optional |
Implements: IConstruct, IDependable Extends: Construct
new ECRDeployment(scope: Construct, id: string, props: ECRDeploymentProps)
- scope (
Construct
) No description - id (
string
) No description - props (
ECRDeploymentProps
) No description- dest (
IImageName
) The destination of the docker image. - src (
IImageName
) The source of the docker image. - architecture (
string
) The architecture of the images to copy. Necessary if the image architecture differs from the lambda architecture. - buildImage (
string
) Image to use to build Golang lambda for custom resource, if download fails or is not wanted. Default: public.ecr.aws/sam/build-go1.x:latest - environment (
Map<string, string>
) The environment variable to set. Optional - memoryLimit (
number
) The amount of memory (in MiB) to allocate to the AWS Lambda function which replicates the files from the CDK bucket to the destination bucket. Default: 512 - role (
aws_iam.IRole
) Execution role associated with this function. Default: A role is automatically created - securityGroups (
Array<aws_ec2.SecurityGroup>
) The list of security groups to associate with the Lambda's network interfaces. Default: If the function is placed within a VPC and a security group is not specified, either by this or securityGroup prop, a dedicated security group will be created for this function. - vpc (
aws_ec2.IVpc
) The VPC network to place the deployment lambda handler in. Default: None - vpcSubnets (
aws_ec2.SubnetSelection
) Where in the VPC to place the deployment lambda handler. Default: the Vpc default strategy if not specified
- dest (
addToPrincipalPolicy(statement: PolicyStatement): AddToPrincipalPolicyResult
- statement (
aws_iam.PolicyStatement
) No description
Returns:
Implements: IImageName
new S3ArchiveName(p: string, ref?: string, creds?: string)
- p (
string
) No description - ref (
string
) No description - creds (
string
) The credentials of the docker image.
Name | Type | Description |
---|---|---|
uri | string |
The uri of the docker image. |
creds? | string |
The credentials of the docker image. Optional |
Name | Type | Description |
---|---|---|
dest | IImageName |
The destination of the docker image. |
src | IImageName |
The source of the docker image. |
architecture | string |
The architecture of the images to copy. Necessary if the image architecture differs from the lambda architecture. |
buildImage? | string |
Image to use to build Golang lambda for custom resource, if download fails or is not wanted. Default: public.ecr.aws/sam/build-go1.x:latest |
environment? | Map<string, string> |
The environment variable to set. Optional |
memoryLimit? | number |
The amount of memory (in MiB) to allocate to the AWS Lambda function which replicates the files from the CDK bucket to the destination bucket. Default: 512 |
role? | aws_iam.IRole |
Execution role associated with this function. Default: A role is automatically created |
securityGroups? | Array<aws_ec2.SecurityGroup> |
The list of security groups to associate with the Lambda's network interfaces. Default: If the function is placed within a VPC and a security group is not specified, either by this or securityGroup prop, a dedicated security group will be created for this function. |
vpc? | aws_ec2.IVpc |
The VPC network to place the deployment lambda handler in. Default: None |
vpcSubnets? | aws_ec2.SubnetSelection |
Where in the VPC to place the deployment lambda handler. Default: the Vpc default strategy if not specified |
Implemented by: DockerImageName, S3ArchiveName
Name | Type | Description |
---|---|---|
uri | string |
The uri of the docker image. |
creds? | string |
The credentials of the docker image. Optional |