@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
159 lines (158 loc) • 5.29 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Provides details about an Image Builder Infrastructure Configuration.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.imagebuilder.getInfrastructureConfiguration({
* arn: "arn:aws:imagebuilder:us-west-2:aws:infrastructure-configuration/example",
* });
* ```
*/
export declare function getInfrastructureConfiguration(args: GetInfrastructureConfigurationArgs, opts?: pulumi.InvokeOptions): Promise<GetInfrastructureConfigurationResult>;
/**
* A collection of arguments for invoking getInfrastructureConfiguration.
*/
export interface GetInfrastructureConfigurationArgs {
/**
* ARN of the infrastructure configuration.
*/
arn: string;
/**
* 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.
*/
region?: string;
/**
* Key-value map of resource tags for the infrastructure created by the infrastructure configuration.
*/
resourceTags?: {
[key: string]: string;
};
/**
* Key-value map of resource tags for the infrastructure configuration.
*/
tags?: {
[key: string]: string;
};
}
/**
* A collection of values returned by getInfrastructureConfiguration.
*/
export interface GetInfrastructureConfigurationResult {
readonly arn: string;
/**
* Date the infrastructure configuration was updated.
*/
readonly dateCreated: string;
readonly dateUpdated: string;
/**
* Description of the infrastructure configuration.
*/
readonly description: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Nested list of instance metadata options for the HTTP requests that pipeline builds use to launch EC2 build and test instances.
*/
readonly instanceMetadataOptions: outputs.imagebuilder.GetInfrastructureConfigurationInstanceMetadataOption[];
/**
* Name of the IAM Instance Profile associated with the configuration.
*/
readonly instanceProfileName: string;
/**
* Set of EC2 Instance Types associated with the configuration.
*/
readonly instanceTypes: string[];
/**
* Name of the EC2 Key Pair associated with the configuration.
*/
readonly keyPair: string;
/**
* Nested list of logging settings.
*/
readonly loggings: outputs.imagebuilder.GetInfrastructureConfigurationLogging[];
/**
* Name of the infrastructure configuration.
*/
readonly name: string;
/**
* Placement settings that define where the instances that are launched from your image will run.
*/
readonly placements: outputs.imagebuilder.GetInfrastructureConfigurationPlacement[];
readonly region: string;
/**
* Key-value map of resource tags for the infrastructure created by the infrastructure configuration.
*/
readonly resourceTags: {
[key: string]: string;
};
/**
* Set of EC2 Security Group identifiers associated with the configuration.
*/
readonly securityGroupIds: string[];
/**
* ARN of the SNS Topic associated with the configuration.
*/
readonly snsTopicArn: string;
/**
* Identifier of the EC2 Subnet associated with the configuration.
*/
readonly subnetId: string;
/**
* Key-value map of resource tags for the infrastructure configuration.
*/
readonly tags: {
[key: string]: string;
};
/**
* Whether instances are terminated on failure.
*/
readonly terminateInstanceOnFailure: boolean;
}
/**
* Provides details about an Image Builder Infrastructure Configuration.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.imagebuilder.getInfrastructureConfiguration({
* arn: "arn:aws:imagebuilder:us-west-2:aws:infrastructure-configuration/example",
* });
* ```
*/
export declare function getInfrastructureConfigurationOutput(args: GetInfrastructureConfigurationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInfrastructureConfigurationResult>;
/**
* A collection of arguments for invoking getInfrastructureConfiguration.
*/
export interface GetInfrastructureConfigurationOutputArgs {
/**
* ARN of the infrastructure configuration.
*/
arn: pulumi.Input<string>;
/**
* 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.
*/
region?: pulumi.Input<string>;
/**
* Key-value map of resource tags for the infrastructure created by the infrastructure configuration.
*/
resourceTags?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
/**
* Key-value map of resource tags for the infrastructure configuration.
*/
tags?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
}