AwsImageBuilderRunnerImageBuilderProps Struct
Initializer
import { AwsImageBuilderRunnerImageBuilderProps } from '@cloudsnorkel/cdk-github-runners'
const awsImageBuilderRunnerImageBuilderProps: AwsImageBuilderRunnerImageBuilderProps = { ... }import cloudsnorkel.cdk_github_runners
cloudsnorkel.cdk_github_runners.AwsImageBuilderRunnerImageBuilderProps(
ami_tags: typing.Mapping[str] = None,
fast_launch_options: FastLaunchOptions = None,
instance_type: InstanceType = None,
storage_size: Size = None
)import com.cloudsnorkel.cdk.github.runners.AwsImageBuilderRunnerImageBuilderProps;
AwsImageBuilderRunnerImageBuilderProps.builder()
// .amiTags(java.util.Map<java.lang.String, java.lang.String>)
// .fastLaunchOptions(FastLaunchOptions)
// .instanceType(InstanceType)
// .storageSize(Size)
.build();using CloudSnorkel;
new AwsImageBuilderRunnerImageBuilderProps {
System.Collections.Generic.IDictionary<string, string> AmiTags = null,
FastLaunchOptions FastLaunchOptions = null,
InstanceType InstanceType = null,
Size StorageSize = null
};import "github.com/CloudSnorkel/cdk-github-runners-go/cloudsnorkelcdkgithubrunners"
&cloudsnorkelcdkgithubrunners.AwsImageBuilderRunnerImageBuilderProps {
AmiTags: *map[string]*string,
FastLaunchOptions: github.com/CloudSnorkel/cdk-github-runners-go/cloudsnorkelcdkgithubrunners.FastLaunchOptions,
InstanceType: github.com/aws/aws-cdk-go/awscdk/v2.aws_ec2.InstanceType,
StorageSize: github.com/aws/aws-cdk-go/awscdk/v2.Size,
}Properties
amiTagsami_tagsamiTagsAmiTagsAmiTags
amiTags?: {[ key: string ]: string}
ami_tags?: typing.Mapping[str]
amiTags?: java.util.Map<java.lang.String, java.lang.String>
AmiTags?: System.Collections.Generic.IDictionary<string, string>
AmiTags?: *map[string]*string
Additional tags to apply to the AMI built by this builder.
These additional tags are set on top of Name, GitHubRunners:Stack, and GitHubRunners:Builder. You may override the built-in tags.
Overriding GitHubRunners:Stack will stop old AMIs from being deleted, as the image cleaner is only allowed to touch AMIs tagged with the name of the stack it lives in. You will have to delete those AMIs yourself.
Default: no additional tags
fastLaunchOptionsfast_launch_optionsfastLaunchOptionsFastLaunchOptionsFastLaunchOptions
fastLaunchOptions?: FastLaunchOptions
fast_launch_options?: FastLaunchOptions
fastLaunchOptions?: FastLaunchOptions
FastLaunchOptions?: FastLaunchOptions
FastLaunchOptions?: FastLaunchOptions
Options for fast launch.
This is only supported for Windows AMIs.
Default: disabled
instanceTypeinstance_typeinstanceTypeInstanceTypeInstanceType
instanceType?: InstanceType
instance_type?: InstanceType
instanceType?: InstanceType
InstanceType?: InstanceType
InstanceType?: InstanceType
The instance type used to build the image.
Default: m6i.large
storageSizestorage_sizestorageSizeStorageSizeStorageSize
storageSize?: Size
storage_size?: Size
storageSize?: Size
StorageSize?: Size
StorageSize?: Size
Size of volume available for builder instances. This modifies the boot volume size and doesn't add any additional volumes.
Use this if you're building images with big components and need more space.
Default: default size for AMI (usually 30GB for Linux and 50GB for Windows)