UNPKG

@cdktf/provider-aws

Version:

Prebuilt aws Provider for Terraform CDK (cdktf)

176 lines (175 loc) 9.22 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataAwsEcrpublicImagesConfig extends cdktf.TerraformMetaArguments { /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the [provider configuration](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#aws-configuration-reference). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/data-sources/ecrpublic_images#region DataAwsEcrpublicImages#region} */ readonly region?: string; /** * AWS account ID associated with the public registry that contains the repository. If not specified, the default public registry is assumed. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/data-sources/ecrpublic_images#registry_id DataAwsEcrpublicImages#registry_id} */ readonly registryId?: string; /** * Name of the public repository. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/data-sources/ecrpublic_images#repository_name DataAwsEcrpublicImages#repository_name} */ readonly repositoryName: string; /** * image_ids block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/data-sources/ecrpublic_images#image_ids DataAwsEcrpublicImages#image_ids} */ readonly imageIds?: DataAwsEcrpublicImagesImageIds[] | cdktf.IResolvable; } export interface DataAwsEcrpublicImagesImages { } export declare function dataAwsEcrpublicImagesImagesToTerraform(struct?: DataAwsEcrpublicImagesImages): any; export declare function dataAwsEcrpublicImagesImagesToHclTerraform(struct?: DataAwsEcrpublicImagesImages): any; export declare class DataAwsEcrpublicImagesImagesOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): DataAwsEcrpublicImagesImages | undefined; set internalValue(value: DataAwsEcrpublicImagesImages | undefined); get artifactMediaType(): string; get imageDigest(): string; get imageManifestMediaType(): string; get imagePushedAt(): string; get imageSizeInBytes(): number; get imageTags(): string[]; get registryId(): string; get repositoryName(): string; } export declare class DataAwsEcrpublicImagesImagesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): DataAwsEcrpublicImagesImagesOutputReference; } export interface DataAwsEcrpublicImagesImageIds { /** * Image digest. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/data-sources/ecrpublic_images#image_digest DataAwsEcrpublicImages#image_digest} */ readonly imageDigest?: string; /** * Image tag. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/data-sources/ecrpublic_images#image_tag DataAwsEcrpublicImages#image_tag} */ readonly imageTag?: string; } export declare function dataAwsEcrpublicImagesImageIdsToTerraform(struct?: DataAwsEcrpublicImagesImageIds | cdktf.IResolvable): any; export declare function dataAwsEcrpublicImagesImageIdsToHclTerraform(struct?: DataAwsEcrpublicImagesImageIds | cdktf.IResolvable): any; export declare class DataAwsEcrpublicImagesImageIdsOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): DataAwsEcrpublicImagesImageIds | cdktf.IResolvable | undefined; set internalValue(value: DataAwsEcrpublicImagesImageIds | cdktf.IResolvable | undefined); private _imageDigest?; get imageDigest(): string; set imageDigest(value: string); resetImageDigest(): void; get imageDigestInput(): string | undefined; private _imageTag?; get imageTag(): string; set imageTag(value: string); resetImageTag(): void; get imageTagInput(): string | undefined; } export declare class DataAwsEcrpublicImagesImageIdsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DataAwsEcrpublicImagesImageIds[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): DataAwsEcrpublicImagesImageIdsOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/data-sources/ecrpublic_images aws_ecrpublic_images} */ export declare class DataAwsEcrpublicImages extends cdktf.TerraformDataSource { static readonly tfResourceType = "aws_ecrpublic_images"; /** * Generates CDKTF code for importing a DataAwsEcrpublicImages resource upon running "cdktf plan <stack-name>" * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the DataAwsEcrpublicImages to import * @param importFromId The id of the existing DataAwsEcrpublicImages that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/data-sources/ecrpublic_images#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataAwsEcrpublicImages to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource; /** * Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/data-sources/ecrpublic_images aws_ecrpublic_images} Data Source * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options DataAwsEcrpublicImagesConfig */ constructor(scope: Construct, id: string, config: DataAwsEcrpublicImagesConfig); private _images; get images(): DataAwsEcrpublicImagesImagesList; private _region?; get region(): string; set region(value: string); resetRegion(): void; get regionInput(): string | undefined; private _registryId?; get registryId(): string; set registryId(value: string); resetRegistryId(): void; get registryIdInput(): string | undefined; private _repositoryName?; get repositoryName(): string; set repositoryName(value: string); get repositoryNameInput(): string | undefined; private _imageIds; get imageIds(): DataAwsEcrpublicImagesImageIdsList; putImageIds(value: DataAwsEcrpublicImagesImageIds[] | cdktf.IResolvable): void; resetImageIds(): void; get imageIdsInput(): cdktf.IResolvable | DataAwsEcrpublicImagesImageIds[] | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }