imagebuilder

package
v3.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component struct {
	pulumi.CustomResourceState

	// (Required) Amazon Resource Name (ARN) of the component.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Change description of the component.
	ChangeDescription pulumi.StringPtrOutput `pulumi:"changeDescription"`
	Data              pulumi.StringOutput    `pulumi:"data"`
	// Date the component was created.
	DateCreated pulumi.StringOutput `pulumi:"dateCreated"`
	// Description of the component.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Encryption status of the component.
	Encrypted pulumi.BoolOutput `pulumi:"encrypted"`
	// Amazon Resource Name (ARN) of the Key Management Service (KMS) Key used to encrypt the component.
	KmsKeyId pulumi.StringPtrOutput `pulumi:"kmsKeyId"`
	// Name of the component.
	Name pulumi.StringOutput `pulumi:"name"`
	// Owner of the component.
	Owner pulumi.StringOutput `pulumi:"owner"`
	// Platform of the component.
	Platform pulumi.StringOutput `pulumi:"platform"`
	// Set of Operating Systems (OS) supported by the component.
	SupportedOsVersions pulumi.StringArrayOutput `pulumi:"supportedOsVersions"`
	// Key-value map of resource tags for the component.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Type of the component.
	Type pulumi.StringOutput `pulumi:"type"`
	// S3 URI with data of the component. Exactly one of `data` and `uri` can be specified.
	Uri pulumi.StringPtrOutput `pulumi:"uri"`
	// Version of the component.
	Version pulumi.StringOutput `pulumi:"version"`
}

Manages an Image Builder Component.

## Example Usage ### URI Document

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/imagebuilder"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := imagebuilder.NewComponent(ctx, "example", &imagebuilder.ComponentArgs{
			Platform: pulumi.String("Linux"),
			Uri:      pulumi.String(fmt.Sprintf("%v%v%v%v", "s3://", aws_s3_bucket_object.Example.Bucket, "/", aws_s3_bucket_object.Example.Key)),
			Version:  pulumi.String("1.0.0"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_imagebuilder_components` resources can be imported by using the Amazon Resource Name (ARN), e.g.

```sh

$ pulumi import aws:imagebuilder/component:Component example arn:aws:imagebuilder:us-east-1:123456789012:component/example/1.0.0/1

```

Certain resource arguments, such as `uri`, cannot be read via the API and imported into Terraform. Terraform will display a difference for these arguments the first run after import if declared in the Terraform configuration for an imported resource.

func GetComponent

func GetComponent(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ComponentState, opts ...pulumi.ResourceOption) (*Component, error)

GetComponent gets an existing Component resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewComponent

func NewComponent(ctx *pulumi.Context,
	name string, args *ComponentArgs, opts ...pulumi.ResourceOption) (*Component, error)

NewComponent registers a new resource with the given unique name, arguments, and options.

func (Component) ElementType

func (Component) ElementType() reflect.Type

func (Component) ToComponentOutput

func (i Component) ToComponentOutput() ComponentOutput

func (Component) ToComponentOutputWithContext

func (i Component) ToComponentOutputWithContext(ctx context.Context) ComponentOutput

type ComponentArgs

type ComponentArgs struct {
	// Change description of the component.
	ChangeDescription pulumi.StringPtrInput
	Data              pulumi.StringPtrInput
	// Description of the component.
	Description pulumi.StringPtrInput
	// Amazon Resource Name (ARN) of the Key Management Service (KMS) Key used to encrypt the component.
	KmsKeyId pulumi.StringPtrInput
	// Name of the component.
	Name pulumi.StringPtrInput
	// Platform of the component.
	Platform pulumi.StringInput
	// Set of Operating Systems (OS) supported by the component.
	SupportedOsVersions pulumi.StringArrayInput
	// Key-value map of resource tags for the component.
	Tags pulumi.StringMapInput
	// S3 URI with data of the component. Exactly one of `data` and `uri` can be specified.
	Uri pulumi.StringPtrInput
	// Version of the component.
	Version pulumi.StringInput
}

The set of arguments for constructing a Component resource.

func (ComponentArgs) ElementType

func (ComponentArgs) ElementType() reflect.Type

type ComponentInput

type ComponentInput interface {
	pulumi.Input

	ToComponentOutput() ComponentOutput
	ToComponentOutputWithContext(ctx context.Context) ComponentOutput
}

type ComponentOutput

type ComponentOutput struct {
	*pulumi.OutputState
}

func (ComponentOutput) ElementType

func (ComponentOutput) ElementType() reflect.Type

func (ComponentOutput) ToComponentOutput

func (o ComponentOutput) ToComponentOutput() ComponentOutput

func (ComponentOutput) ToComponentOutputWithContext

func (o ComponentOutput) ToComponentOutputWithContext(ctx context.Context) ComponentOutput

type ComponentState

type ComponentState struct {
	// (Required) Amazon Resource Name (ARN) of the component.
	Arn pulumi.StringPtrInput
	// Change description of the component.
	ChangeDescription pulumi.StringPtrInput
	Data              pulumi.StringPtrInput
	// Date the component was created.
	DateCreated pulumi.StringPtrInput
	// Description of the component.
	Description pulumi.StringPtrInput
	// Encryption status of the component.
	Encrypted pulumi.BoolPtrInput
	// Amazon Resource Name (ARN) of the Key Management Service (KMS) Key used to encrypt the component.
	KmsKeyId pulumi.StringPtrInput
	// Name of the component.
	Name pulumi.StringPtrInput
	// Owner of the component.
	Owner pulumi.StringPtrInput
	// Platform of the component.
	Platform pulumi.StringPtrInput
	// Set of Operating Systems (OS) supported by the component.
	SupportedOsVersions pulumi.StringArrayInput
	// Key-value map of resource tags for the component.
	Tags pulumi.StringMapInput
	// Type of the component.
	Type pulumi.StringPtrInput
	// S3 URI with data of the component. Exactly one of `data` and `uri` can be specified.
	Uri pulumi.StringPtrInput
	// Version of the component.
	Version pulumi.StringPtrInput
}

func (ComponentState) ElementType

func (ComponentState) ElementType() reflect.Type

type DistributionConfiguration

type DistributionConfiguration struct {
	pulumi.CustomResourceState

	// (Required) Amazon Resource Name (ARN) of the distribution configuration.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Date the distribution configuration was created.
	DateCreated pulumi.StringOutput `pulumi:"dateCreated"`
	// Date the distribution configuration was updated.
	DateUpdated pulumi.StringOutput `pulumi:"dateUpdated"`
	// Description to apply to the distributed AMI.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// One or more configuration blocks with distribution settings. Detailed below.
	Distributions DistributionConfigurationDistributionArrayOutput `pulumi:"distributions"`
	// Name to apply to the distributed AMI.
	Name pulumi.StringOutput `pulumi:"name"`
	// Key-value map of resource tags for the distribution configuration.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages an Image Builder Distribution Configuration.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/imagebuilder"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := imagebuilder.NewDistributionConfiguration(ctx, "example", &imagebuilder.DistributionConfigurationArgs{
			Distributions: imagebuilder.DistributionConfigurationDistributionArray{
				&imagebuilder.DistributionConfigurationDistributionArgs{
					AmiDistributionConfiguration: &imagebuilder.DistributionConfigurationDistributionAmiDistributionConfigurationArgs{
						AmiTags: pulumi.StringMap{
							"CostCenter": pulumi.String("IT"),
						},
						LaunchPermission: &imagebuilder.DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs{
							UserIds: pulumi.StringArray{
								pulumi.String("123456789012"),
							},
						},
						Name: pulumi.String("example-{{ imagebuilder:buildDate }}"),
					},
					Region: pulumi.String("us-east-1"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_imagebuilder_distribution_configurations` resources can be imported by using the Amazon Resource Name (ARN), e.g.

```sh

$ pulumi import aws:imagebuilder/distributionConfiguration:DistributionConfiguration example arn:aws:imagebuilder:us-east-1:123456789012:distribution-configuration/example

```

func GetDistributionConfiguration

func GetDistributionConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DistributionConfigurationState, opts ...pulumi.ResourceOption) (*DistributionConfiguration, error)

GetDistributionConfiguration gets an existing DistributionConfiguration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDistributionConfiguration

func NewDistributionConfiguration(ctx *pulumi.Context,
	name string, args *DistributionConfigurationArgs, opts ...pulumi.ResourceOption) (*DistributionConfiguration, error)

NewDistributionConfiguration registers a new resource with the given unique name, arguments, and options.

func (DistributionConfiguration) ElementType

func (DistributionConfiguration) ElementType() reflect.Type

func (DistributionConfiguration) ToDistributionConfigurationOutput

func (i DistributionConfiguration) ToDistributionConfigurationOutput() DistributionConfigurationOutput

func (DistributionConfiguration) ToDistributionConfigurationOutputWithContext

func (i DistributionConfiguration) ToDistributionConfigurationOutputWithContext(ctx context.Context) DistributionConfigurationOutput

type DistributionConfigurationArgs

type DistributionConfigurationArgs struct {
	// Description to apply to the distributed AMI.
	Description pulumi.StringPtrInput
	// One or more configuration blocks with distribution settings. Detailed below.
	Distributions DistributionConfigurationDistributionArrayInput
	// Name to apply to the distributed AMI.
	Name pulumi.StringPtrInput
	// Key-value map of resource tags for the distribution configuration.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a DistributionConfiguration resource.

func (DistributionConfigurationArgs) ElementType

type DistributionConfigurationDistribution

type DistributionConfigurationDistribution struct {
	// Configuration block with Amazon Machine Image (AMI) distribution settings. Detailed below.
	AmiDistributionConfiguration *DistributionConfigurationDistributionAmiDistributionConfiguration `pulumi:"amiDistributionConfiguration"`
	// Set of Amazon Resource Names (ARNs) of License Manager License Configurations.
	LicenseConfigurationArns []string `pulumi:"licenseConfigurationArns"`
	// AWS Region for the distribution.
	Region string `pulumi:"region"`
}

type DistributionConfigurationDistributionAmiDistributionConfiguration

type DistributionConfigurationDistributionAmiDistributionConfiguration struct {
	// Key-value map of tags to apply to the distributed AMI.
	AmiTags map[string]string `pulumi:"amiTags"`
	// Description to apply to the distributed AMI.
	Description *string `pulumi:"description"`
	// Amazon Resource Name (ARN) of the Key Management Service (KMS) Key to encrypt the distributed AMI.
	KmsKeyId *string `pulumi:"kmsKeyId"`
	// Configuration block of EC2 launch permissions to apply to the distributed AMI. Detailed below.
	LaunchPermission *DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermission `pulumi:"launchPermission"`
	// Name to apply to the distributed AMI.
	Name *string `pulumi:"name"`
	// Set of AWS Account identifiers to distribute the AMI.
	TargetAccountIds []string `pulumi:"targetAccountIds"`
}

type DistributionConfigurationDistributionAmiDistributionConfigurationArgs

type DistributionConfigurationDistributionAmiDistributionConfigurationArgs struct {
	// Key-value map of tags to apply to the distributed AMI.
	AmiTags pulumi.StringMapInput `pulumi:"amiTags"`
	// Description to apply to the distributed AMI.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// Amazon Resource Name (ARN) of the Key Management Service (KMS) Key to encrypt the distributed AMI.
	KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"`
	// Configuration block of EC2 launch permissions to apply to the distributed AMI. Detailed below.
	LaunchPermission DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionPtrInput `pulumi:"launchPermission"`
	// Name to apply to the distributed AMI.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Set of AWS Account identifiers to distribute the AMI.
	TargetAccountIds pulumi.StringArrayInput `pulumi:"targetAccountIds"`
}

func (DistributionConfigurationDistributionAmiDistributionConfigurationArgs) ElementType

func (DistributionConfigurationDistributionAmiDistributionConfigurationArgs) ToDistributionConfigurationDistributionAmiDistributionConfigurationOutput

func (DistributionConfigurationDistributionAmiDistributionConfigurationArgs) ToDistributionConfigurationDistributionAmiDistributionConfigurationOutputWithContext

func (i DistributionConfigurationDistributionAmiDistributionConfigurationArgs) ToDistributionConfigurationDistributionAmiDistributionConfigurationOutputWithContext(ctx context.Context) DistributionConfigurationDistributionAmiDistributionConfigurationOutput

func (DistributionConfigurationDistributionAmiDistributionConfigurationArgs) ToDistributionConfigurationDistributionAmiDistributionConfigurationPtrOutput

func (DistributionConfigurationDistributionAmiDistributionConfigurationArgs) ToDistributionConfigurationDistributionAmiDistributionConfigurationPtrOutputWithContext

func (i DistributionConfigurationDistributionAmiDistributionConfigurationArgs) ToDistributionConfigurationDistributionAmiDistributionConfigurationPtrOutputWithContext(ctx context.Context) DistributionConfigurationDistributionAmiDistributionConfigurationPtrOutput

type DistributionConfigurationDistributionAmiDistributionConfigurationInput

type DistributionConfigurationDistributionAmiDistributionConfigurationInput interface {
	pulumi.Input

	ToDistributionConfigurationDistributionAmiDistributionConfigurationOutput() DistributionConfigurationDistributionAmiDistributionConfigurationOutput
	ToDistributionConfigurationDistributionAmiDistributionConfigurationOutputWithContext(context.Context) DistributionConfigurationDistributionAmiDistributionConfigurationOutput
}

DistributionConfigurationDistributionAmiDistributionConfigurationInput is an input type that accepts DistributionConfigurationDistributionAmiDistributionConfigurationArgs and DistributionConfigurationDistributionAmiDistributionConfigurationOutput values. You can construct a concrete instance of `DistributionConfigurationDistributionAmiDistributionConfigurationInput` via:

DistributionConfigurationDistributionAmiDistributionConfigurationArgs{...}

type DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermission

type DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermission struct {
	// Set of EC2 launch permission user groups to assign. Use `all` to distribute a public AMI.
	UserGroups []string `pulumi:"userGroups"`
	// Set of AWS Account identifiers to assign.
	UserIds []string `pulumi:"userIds"`
}

type DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs

type DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs struct {
	// Set of EC2 launch permission user groups to assign. Use `all` to distribute a public AMI.
	UserGroups pulumi.StringArrayInput `pulumi:"userGroups"`
	// Set of AWS Account identifiers to assign.
	UserIds pulumi.StringArrayInput `pulumi:"userIds"`
}

func (DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs) ElementType

func (DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs) ToDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutput

func (DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs) ToDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutputWithContext

func (DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs) ToDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionPtrOutput

func (DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs) ToDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionPtrOutputWithContext

type DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionInput

type DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionInput interface {
	pulumi.Input

	ToDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutput() DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutput
	ToDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutputWithContext(context.Context) DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutput
}

DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionInput is an input type that accepts DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs and DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutput values. You can construct a concrete instance of `DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionInput` via:

DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs{...}

type DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutput

type DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutput struct{ *pulumi.OutputState }

func (DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutput) ElementType

func (DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutput) ToDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutput

func (DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutput) ToDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutputWithContext

func (DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutput) ToDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionPtrOutput

func (DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutput) ToDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionPtrOutputWithContext

func (DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutput) UserGroups

Set of EC2 launch permission user groups to assign. Use `all` to distribute a public AMI.

func (DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutput) UserIds

Set of AWS Account identifiers to assign.

type DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionPtrInput

type DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionPtrInput interface {
	pulumi.Input

	ToDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionPtrOutput() DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionPtrOutput
	ToDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionPtrOutputWithContext(context.Context) DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionPtrOutput
}

DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionPtrInput is an input type that accepts DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs, DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionPtr and DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionPtrOutput values. You can construct a concrete instance of `DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionPtrInput` via:

        DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs{...}

or:

        nil

type DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionPtrOutput

type DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionPtrOutput struct{ *pulumi.OutputState }

func (DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionPtrOutput) ElementType

func (DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionPtrOutput) ToDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionPtrOutput

func (DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionPtrOutput) ToDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionPtrOutputWithContext

func (DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionPtrOutput) UserGroups

Set of EC2 launch permission user groups to assign. Use `all` to distribute a public AMI.

func (DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionPtrOutput) UserIds

Set of AWS Account identifiers to assign.

type DistributionConfigurationDistributionAmiDistributionConfigurationOutput

type DistributionConfigurationDistributionAmiDistributionConfigurationOutput struct{ *pulumi.OutputState }

func (DistributionConfigurationDistributionAmiDistributionConfigurationOutput) AmiTags

Key-value map of tags to apply to the distributed AMI.

func (DistributionConfigurationDistributionAmiDistributionConfigurationOutput) Description

Description to apply to the distributed AMI.

func (DistributionConfigurationDistributionAmiDistributionConfigurationOutput) ElementType

func (DistributionConfigurationDistributionAmiDistributionConfigurationOutput) KmsKeyId

Amazon Resource Name (ARN) of the Key Management Service (KMS) Key to encrypt the distributed AMI.

func (DistributionConfigurationDistributionAmiDistributionConfigurationOutput) LaunchPermission

Configuration block of EC2 launch permissions to apply to the distributed AMI. Detailed below.

func (DistributionConfigurationDistributionAmiDistributionConfigurationOutput) Name

Name to apply to the distributed AMI.

func (DistributionConfigurationDistributionAmiDistributionConfigurationOutput) TargetAccountIds

Set of AWS Account identifiers to distribute the AMI.

func (DistributionConfigurationDistributionAmiDistributionConfigurationOutput) ToDistributionConfigurationDistributionAmiDistributionConfigurationOutput

func (DistributionConfigurationDistributionAmiDistributionConfigurationOutput) ToDistributionConfigurationDistributionAmiDistributionConfigurationOutputWithContext

func (o DistributionConfigurationDistributionAmiDistributionConfigurationOutput) ToDistributionConfigurationDistributionAmiDistributionConfigurationOutputWithContext(ctx context.Context) DistributionConfigurationDistributionAmiDistributionConfigurationOutput

func (DistributionConfigurationDistributionAmiDistributionConfigurationOutput) ToDistributionConfigurationDistributionAmiDistributionConfigurationPtrOutput

func (DistributionConfigurationDistributionAmiDistributionConfigurationOutput) ToDistributionConfigurationDistributionAmiDistributionConfigurationPtrOutputWithContext

func (o DistributionConfigurationDistributionAmiDistributionConfigurationOutput) ToDistributionConfigurationDistributionAmiDistributionConfigurationPtrOutputWithContext(ctx context.Context) DistributionConfigurationDistributionAmiDistributionConfigurationPtrOutput

type DistributionConfigurationDistributionAmiDistributionConfigurationPtrInput

type DistributionConfigurationDistributionAmiDistributionConfigurationPtrInput interface {
	pulumi.Input

	ToDistributionConfigurationDistributionAmiDistributionConfigurationPtrOutput() DistributionConfigurationDistributionAmiDistributionConfigurationPtrOutput
	ToDistributionConfigurationDistributionAmiDistributionConfigurationPtrOutputWithContext(context.Context) DistributionConfigurationDistributionAmiDistributionConfigurationPtrOutput
}

DistributionConfigurationDistributionAmiDistributionConfigurationPtrInput is an input type that accepts DistributionConfigurationDistributionAmiDistributionConfigurationArgs, DistributionConfigurationDistributionAmiDistributionConfigurationPtr and DistributionConfigurationDistributionAmiDistributionConfigurationPtrOutput values. You can construct a concrete instance of `DistributionConfigurationDistributionAmiDistributionConfigurationPtrInput` via:

        DistributionConfigurationDistributionAmiDistributionConfigurationArgs{...}

or:

        nil

type DistributionConfigurationDistributionAmiDistributionConfigurationPtrOutput

type DistributionConfigurationDistributionAmiDistributionConfigurationPtrOutput struct{ *pulumi.OutputState }

func (DistributionConfigurationDistributionAmiDistributionConfigurationPtrOutput) AmiTags

Key-value map of tags to apply to the distributed AMI.

func (DistributionConfigurationDistributionAmiDistributionConfigurationPtrOutput) Description

Description to apply to the distributed AMI.

func (DistributionConfigurationDistributionAmiDistributionConfigurationPtrOutput) Elem

func (DistributionConfigurationDistributionAmiDistributionConfigurationPtrOutput) ElementType

func (DistributionConfigurationDistributionAmiDistributionConfigurationPtrOutput) KmsKeyId

Amazon Resource Name (ARN) of the Key Management Service (KMS) Key to encrypt the distributed AMI.

func (DistributionConfigurationDistributionAmiDistributionConfigurationPtrOutput) LaunchPermission

Configuration block of EC2 launch permissions to apply to the distributed AMI. Detailed below.

func (DistributionConfigurationDistributionAmiDistributionConfigurationPtrOutput) Name

Name to apply to the distributed AMI.

func (DistributionConfigurationDistributionAmiDistributionConfigurationPtrOutput) TargetAccountIds

Set of AWS Account identifiers to distribute the AMI.

func (DistributionConfigurationDistributionAmiDistributionConfigurationPtrOutput) ToDistributionConfigurationDistributionAmiDistributionConfigurationPtrOutput

func (DistributionConfigurationDistributionAmiDistributionConfigurationPtrOutput) ToDistributionConfigurationDistributionAmiDistributionConfigurationPtrOutputWithContext

type DistributionConfigurationDistributionArgs

type DistributionConfigurationDistributionArgs struct {
	// Configuration block with Amazon Machine Image (AMI) distribution settings. Detailed below.
	AmiDistributionConfiguration DistributionConfigurationDistributionAmiDistributionConfigurationPtrInput `pulumi:"amiDistributionConfiguration"`
	// Set of Amazon Resource Names (ARNs) of License Manager License Configurations.
	LicenseConfigurationArns pulumi.StringArrayInput `pulumi:"licenseConfigurationArns"`
	// AWS Region for the distribution.
	Region pulumi.StringInput `pulumi:"region"`
}

func (DistributionConfigurationDistributionArgs) ElementType

func (DistributionConfigurationDistributionArgs) ToDistributionConfigurationDistributionOutput

func (i DistributionConfigurationDistributionArgs) ToDistributionConfigurationDistributionOutput() DistributionConfigurationDistributionOutput

func (DistributionConfigurationDistributionArgs) ToDistributionConfigurationDistributionOutputWithContext

func (i DistributionConfigurationDistributionArgs) ToDistributionConfigurationDistributionOutputWithContext(ctx context.Context) DistributionConfigurationDistributionOutput

type DistributionConfigurationDistributionArray

type DistributionConfigurationDistributionArray []DistributionConfigurationDistributionInput

func (DistributionConfigurationDistributionArray) ElementType

func (DistributionConfigurationDistributionArray) ToDistributionConfigurationDistributionArrayOutput

func (i DistributionConfigurationDistributionArray) ToDistributionConfigurationDistributionArrayOutput() DistributionConfigurationDistributionArrayOutput

func (DistributionConfigurationDistributionArray) ToDistributionConfigurationDistributionArrayOutputWithContext

func (i DistributionConfigurationDistributionArray) ToDistributionConfigurationDistributionArrayOutputWithContext(ctx context.Context) DistributionConfigurationDistributionArrayOutput

type DistributionConfigurationDistributionArrayInput

type DistributionConfigurationDistributionArrayInput interface {
	pulumi.Input

	ToDistributionConfigurationDistributionArrayOutput() DistributionConfigurationDistributionArrayOutput
	ToDistributionConfigurationDistributionArrayOutputWithContext(context.Context) DistributionConfigurationDistributionArrayOutput
}

DistributionConfigurationDistributionArrayInput is an input type that accepts DistributionConfigurationDistributionArray and DistributionConfigurationDistributionArrayOutput values. You can construct a concrete instance of `DistributionConfigurationDistributionArrayInput` via:

DistributionConfigurationDistributionArray{ DistributionConfigurationDistributionArgs{...} }

type DistributionConfigurationDistributionArrayOutput

type DistributionConfigurationDistributionArrayOutput struct{ *pulumi.OutputState }

func (DistributionConfigurationDistributionArrayOutput) ElementType

func (DistributionConfigurationDistributionArrayOutput) Index

func (DistributionConfigurationDistributionArrayOutput) ToDistributionConfigurationDistributionArrayOutput

func (o DistributionConfigurationDistributionArrayOutput) ToDistributionConfigurationDistributionArrayOutput() DistributionConfigurationDistributionArrayOutput

func (DistributionConfigurationDistributionArrayOutput) ToDistributionConfigurationDistributionArrayOutputWithContext

func (o DistributionConfigurationDistributionArrayOutput) ToDistributionConfigurationDistributionArrayOutputWithContext(ctx context.Context) DistributionConfigurationDistributionArrayOutput

type DistributionConfigurationDistributionInput

type DistributionConfigurationDistributionInput interface {
	pulumi.Input

	ToDistributionConfigurationDistributionOutput() DistributionConfigurationDistributionOutput
	ToDistributionConfigurationDistributionOutputWithContext(context.Context) DistributionConfigurationDistributionOutput
}

DistributionConfigurationDistributionInput is an input type that accepts DistributionConfigurationDistributionArgs and DistributionConfigurationDistributionOutput values. You can construct a concrete instance of `DistributionConfigurationDistributionInput` via:

DistributionConfigurationDistributionArgs{...}

type DistributionConfigurationDistributionOutput

type DistributionConfigurationDistributionOutput struct{ *pulumi.OutputState }

func (DistributionConfigurationDistributionOutput) AmiDistributionConfiguration

Configuration block with Amazon Machine Image (AMI) distribution settings. Detailed below.

func (DistributionConfigurationDistributionOutput) ElementType

func (DistributionConfigurationDistributionOutput) LicenseConfigurationArns

Set of Amazon Resource Names (ARNs) of License Manager License Configurations.

func (DistributionConfigurationDistributionOutput) Region

AWS Region for the distribution.

func (DistributionConfigurationDistributionOutput) ToDistributionConfigurationDistributionOutput

func (o DistributionConfigurationDistributionOutput) ToDistributionConfigurationDistributionOutput() DistributionConfigurationDistributionOutput

func (DistributionConfigurationDistributionOutput) ToDistributionConfigurationDistributionOutputWithContext

func (o DistributionConfigurationDistributionOutput) ToDistributionConfigurationDistributionOutputWithContext(ctx context.Context) DistributionConfigurationDistributionOutput

type DistributionConfigurationInput

type DistributionConfigurationInput interface {
	pulumi.Input

	ToDistributionConfigurationOutput() DistributionConfigurationOutput
	ToDistributionConfigurationOutputWithContext(ctx context.Context) DistributionConfigurationOutput
}

type DistributionConfigurationOutput

type DistributionConfigurationOutput struct {
	*pulumi.OutputState
}

func (DistributionConfigurationOutput) ElementType

func (DistributionConfigurationOutput) ToDistributionConfigurationOutput

func (o DistributionConfigurationOutput) ToDistributionConfigurationOutput() DistributionConfigurationOutput

func (DistributionConfigurationOutput) ToDistributionConfigurationOutputWithContext

func (o DistributionConfigurationOutput) ToDistributionConfigurationOutputWithContext(ctx context.Context) DistributionConfigurationOutput

type DistributionConfigurationState

type DistributionConfigurationState struct {
	// (Required) Amazon Resource Name (ARN) of the distribution configuration.
	Arn pulumi.StringPtrInput
	// Date the distribution configuration was created.
	DateCreated pulumi.StringPtrInput
	// Date the distribution configuration was updated.
	DateUpdated pulumi.StringPtrInput
	// Description to apply to the distributed AMI.
	Description pulumi.StringPtrInput
	// One or more configuration blocks with distribution settings. Detailed below.
	Distributions DistributionConfigurationDistributionArrayInput
	// Name to apply to the distributed AMI.
	Name pulumi.StringPtrInput
	// Key-value map of resource tags for the distribution configuration.
	Tags pulumi.StringMapInput
}

func (DistributionConfigurationState) ElementType

type GetDistributionConfigurationDistribution

type GetDistributionConfigurationDistribution struct {
	// Nested list of AMI distribution configuration.
	AmiDistributionConfigurations []GetDistributionConfigurationDistributionAmiDistributionConfiguration `pulumi:"amiDistributionConfigurations"`
	// Set of Amazon Resource Names (ARNs) of License Manager License Configurations.
	LicenseConfigurationArns []string `pulumi:"licenseConfigurationArns"`
	// AWS Region of distribution.
	Region string `pulumi:"region"`
}

type GetDistributionConfigurationDistributionAmiDistributionConfiguration

type GetDistributionConfigurationDistributionAmiDistributionConfiguration struct {
	// Key-value map of tags to apply to distributed AMI.
	AmiTags map[string]string `pulumi:"amiTags"`
	// Description to apply to distributed AMI.
	Description string `pulumi:"description"`
	// Amazon Resource Name (ARN) of Key Management Service (KMS) Key to encrypt AMI.
	KmsKeyId string `pulumi:"kmsKeyId"`
	// Nested list of EC2 launch permissions.
	LaunchPermissions []GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermission `pulumi:"launchPermissions"`
	// Name of the distribution configuration.
	Name string `pulumi:"name"`
	// Set of target AWS Account identifiers.
	TargetAccountIds []string `pulumi:"targetAccountIds"`
}

type GetDistributionConfigurationDistributionAmiDistributionConfigurationArgs

type GetDistributionConfigurationDistributionAmiDistributionConfigurationArgs struct {
	// Key-value map of tags to apply to distributed AMI.
	AmiTags pulumi.StringMapInput `pulumi:"amiTags"`
	// Description to apply to distributed AMI.
	Description pulumi.StringInput `pulumi:"description"`
	// Amazon Resource Name (ARN) of Key Management Service (KMS) Key to encrypt AMI.
	KmsKeyId pulumi.StringInput `pulumi:"kmsKeyId"`
	// Nested list of EC2 launch permissions.
	LaunchPermissions GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArrayInput `pulumi:"launchPermissions"`
	// Name of the distribution configuration.
	Name pulumi.StringInput `pulumi:"name"`
	// Set of target AWS Account identifiers.
	TargetAccountIds pulumi.StringArrayInput `pulumi:"targetAccountIds"`
}

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationArgs) ElementType

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationArgs) ToGetDistributionConfigurationDistributionAmiDistributionConfigurationOutput

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationArgs) ToGetDistributionConfigurationDistributionAmiDistributionConfigurationOutputWithContext

func (i GetDistributionConfigurationDistributionAmiDistributionConfigurationArgs) ToGetDistributionConfigurationDistributionAmiDistributionConfigurationOutputWithContext(ctx context.Context) GetDistributionConfigurationDistributionAmiDistributionConfigurationOutput

type GetDistributionConfigurationDistributionAmiDistributionConfigurationArray

type GetDistributionConfigurationDistributionAmiDistributionConfigurationArray []GetDistributionConfigurationDistributionAmiDistributionConfigurationInput

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationArray) ElementType

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationArray) ToGetDistributionConfigurationDistributionAmiDistributionConfigurationArrayOutput

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationArray) ToGetDistributionConfigurationDistributionAmiDistributionConfigurationArrayOutputWithContext

func (i GetDistributionConfigurationDistributionAmiDistributionConfigurationArray) ToGetDistributionConfigurationDistributionAmiDistributionConfigurationArrayOutputWithContext(ctx context.Context) GetDistributionConfigurationDistributionAmiDistributionConfigurationArrayOutput

type GetDistributionConfigurationDistributionAmiDistributionConfigurationArrayInput

type GetDistributionConfigurationDistributionAmiDistributionConfigurationArrayInput interface {
	pulumi.Input

	ToGetDistributionConfigurationDistributionAmiDistributionConfigurationArrayOutput() GetDistributionConfigurationDistributionAmiDistributionConfigurationArrayOutput
	ToGetDistributionConfigurationDistributionAmiDistributionConfigurationArrayOutputWithContext(context.Context) GetDistributionConfigurationDistributionAmiDistributionConfigurationArrayOutput
}

GetDistributionConfigurationDistributionAmiDistributionConfigurationArrayInput is an input type that accepts GetDistributionConfigurationDistributionAmiDistributionConfigurationArray and GetDistributionConfigurationDistributionAmiDistributionConfigurationArrayOutput values. You can construct a concrete instance of `GetDistributionConfigurationDistributionAmiDistributionConfigurationArrayInput` via:

GetDistributionConfigurationDistributionAmiDistributionConfigurationArray{ GetDistributionConfigurationDistributionAmiDistributionConfigurationArgs{...} }

type GetDistributionConfigurationDistributionAmiDistributionConfigurationArrayOutput

type GetDistributionConfigurationDistributionAmiDistributionConfigurationArrayOutput struct{ *pulumi.OutputState }

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationArrayOutput) ElementType

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationArrayOutput) ToGetDistributionConfigurationDistributionAmiDistributionConfigurationArrayOutput

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationArrayOutput) ToGetDistributionConfigurationDistributionAmiDistributionConfigurationArrayOutputWithContext

type GetDistributionConfigurationDistributionAmiDistributionConfigurationInput

type GetDistributionConfigurationDistributionAmiDistributionConfigurationInput interface {
	pulumi.Input

	ToGetDistributionConfigurationDistributionAmiDistributionConfigurationOutput() GetDistributionConfigurationDistributionAmiDistributionConfigurationOutput
	ToGetDistributionConfigurationDistributionAmiDistributionConfigurationOutputWithContext(context.Context) GetDistributionConfigurationDistributionAmiDistributionConfigurationOutput
}

GetDistributionConfigurationDistributionAmiDistributionConfigurationInput is an input type that accepts GetDistributionConfigurationDistributionAmiDistributionConfigurationArgs and GetDistributionConfigurationDistributionAmiDistributionConfigurationOutput values. You can construct a concrete instance of `GetDistributionConfigurationDistributionAmiDistributionConfigurationInput` via:

GetDistributionConfigurationDistributionAmiDistributionConfigurationArgs{...}

type GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermission

type GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermission struct {
	// Set of EC2 launch permission user groups.
	UserGroups []string `pulumi:"userGroups"`
	// Set of AWS Account identifiers.
	UserIds []string `pulumi:"userIds"`
}

type GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs

type GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs struct {
	// Set of EC2 launch permission user groups.
	UserGroups pulumi.StringArrayInput `pulumi:"userGroups"`
	// Set of AWS Account identifiers.
	UserIds pulumi.StringArrayInput `pulumi:"userIds"`
}

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs) ElementType

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs) ToGetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutput

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs) ToGetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutputWithContext

type GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArray

type GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArray []GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionInput

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArray) ElementType

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArray) ToGetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArrayOutput

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArray) ToGetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArrayOutputWithContext

type GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArrayInput

type GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArrayInput interface {
	pulumi.Input

	ToGetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArrayOutput() GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArrayOutput
	ToGetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArrayOutputWithContext(context.Context) GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArrayOutput
}

GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArrayInput is an input type that accepts GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArray and GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArrayOutput values. You can construct a concrete instance of `GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArrayInput` via:

GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArray{ GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs{...} }

type GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArrayOutput

type GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArrayOutput struct{ *pulumi.OutputState }

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArrayOutput) ElementType

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArrayOutput) ToGetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArrayOutput

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArrayOutput) ToGetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArrayOutputWithContext

type GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionInput

type GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionInput interface {
	pulumi.Input

	ToGetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutput() GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutput
	ToGetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutputWithContext(context.Context) GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutput
}

GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionInput is an input type that accepts GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs and GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutput values. You can construct a concrete instance of `GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionInput` via:

GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs{...}

type GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutput

type GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutput struct{ *pulumi.OutputState }

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutput) ElementType

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutput) ToGetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutput

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutput) ToGetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutputWithContext

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutput) UserGroups

Set of EC2 launch permission user groups.

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionOutput) UserIds

Set of AWS Account identifiers.

type GetDistributionConfigurationDistributionAmiDistributionConfigurationOutput

type GetDistributionConfigurationDistributionAmiDistributionConfigurationOutput struct{ *pulumi.OutputState }

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationOutput) AmiTags

Key-value map of tags to apply to distributed AMI.

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationOutput) Description

Description to apply to distributed AMI.

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationOutput) ElementType

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationOutput) KmsKeyId

Amazon Resource Name (ARN) of Key Management Service (KMS) Key to encrypt AMI.

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationOutput) LaunchPermissions

Nested list of EC2 launch permissions.

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationOutput) Name

Name of the distribution configuration.

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationOutput) TargetAccountIds

Set of target AWS Account identifiers.

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationOutput) ToGetDistributionConfigurationDistributionAmiDistributionConfigurationOutput

func (GetDistributionConfigurationDistributionAmiDistributionConfigurationOutput) ToGetDistributionConfigurationDistributionAmiDistributionConfigurationOutputWithContext

type GetDistributionConfigurationDistributionArgs

type GetDistributionConfigurationDistributionArgs struct {
	// Nested list of AMI distribution configuration.
	AmiDistributionConfigurations GetDistributionConfigurationDistributionAmiDistributionConfigurationArrayInput `pulumi:"amiDistributionConfigurations"`
	// Set of Amazon Resource Names (ARNs) of License Manager License Configurations.
	LicenseConfigurationArns pulumi.StringArrayInput `pulumi:"licenseConfigurationArns"`
	// AWS Region of distribution.
	Region pulumi.StringInput `pulumi:"region"`
}

func (GetDistributionConfigurationDistributionArgs) ElementType

func (GetDistributionConfigurationDistributionArgs) ToGetDistributionConfigurationDistributionOutput

func (i GetDistributionConfigurationDistributionArgs) ToGetDistributionConfigurationDistributionOutput() GetDistributionConfigurationDistributionOutput

func (GetDistributionConfigurationDistributionArgs) ToGetDistributionConfigurationDistributionOutputWithContext

func (i GetDistributionConfigurationDistributionArgs) ToGetDistributionConfigurationDistributionOutputWithContext(ctx context.Context) GetDistributionConfigurationDistributionOutput

type GetDistributionConfigurationDistributionArray

type GetDistributionConfigurationDistributionArray []GetDistributionConfigurationDistributionInput

func (GetDistributionConfigurationDistributionArray) ElementType

func (GetDistributionConfigurationDistributionArray) ToGetDistributionConfigurationDistributionArrayOutput

func (i GetDistributionConfigurationDistributionArray) ToGetDistributionConfigurationDistributionArrayOutput() GetDistributionConfigurationDistributionArrayOutput

func (GetDistributionConfigurationDistributionArray) ToGetDistributionConfigurationDistributionArrayOutputWithContext

func (i GetDistributionConfigurationDistributionArray) ToGetDistributionConfigurationDistributionArrayOutputWithContext(ctx context.Context) GetDistributionConfigurationDistributionArrayOutput

type GetDistributionConfigurationDistributionArrayInput

type GetDistributionConfigurationDistributionArrayInput interface {
	pulumi.Input

	ToGetDistributionConfigurationDistributionArrayOutput() GetDistributionConfigurationDistributionArrayOutput
	ToGetDistributionConfigurationDistributionArrayOutputWithContext(context.Context) GetDistributionConfigurationDistributionArrayOutput
}

GetDistributionConfigurationDistributionArrayInput is an input type that accepts GetDistributionConfigurationDistributionArray and GetDistributionConfigurationDistributionArrayOutput values. You can construct a concrete instance of `GetDistributionConfigurationDistributionArrayInput` via:

GetDistributionConfigurationDistributionArray{ GetDistributionConfigurationDistributionArgs{...} }

type GetDistributionConfigurationDistributionArrayOutput

type GetDistributionConfigurationDistributionArrayOutput struct{ *pulumi.OutputState }

func (GetDistributionConfigurationDistributionArrayOutput) ElementType

func (GetDistributionConfigurationDistributionArrayOutput) Index

func (GetDistributionConfigurationDistributionArrayOutput) ToGetDistributionConfigurationDistributionArrayOutput

func (o GetDistributionConfigurationDistributionArrayOutput) ToGetDistributionConfigurationDistributionArrayOutput() GetDistributionConfigurationDistributionArrayOutput

func (GetDistributionConfigurationDistributionArrayOutput) ToGetDistributionConfigurationDistributionArrayOutputWithContext

func (o GetDistributionConfigurationDistributionArrayOutput) ToGetDistributionConfigurationDistributionArrayOutputWithContext(ctx context.Context) GetDistributionConfigurationDistributionArrayOutput

type GetDistributionConfigurationDistributionInput

type GetDistributionConfigurationDistributionInput interface {
	pulumi.Input

	ToGetDistributionConfigurationDistributionOutput() GetDistributionConfigurationDistributionOutput
	ToGetDistributionConfigurationDistributionOutputWithContext(context.Context) GetDistributionConfigurationDistributionOutput
}

GetDistributionConfigurationDistributionInput is an input type that accepts GetDistributionConfigurationDistributionArgs and GetDistributionConfigurationDistributionOutput values. You can construct a concrete instance of `GetDistributionConfigurationDistributionInput` via:

GetDistributionConfigurationDistributionArgs{...}

type GetDistributionConfigurationDistributionOutput

type GetDistributionConfigurationDistributionOutput struct{ *pulumi.OutputState }

func (GetDistributionConfigurationDistributionOutput) AmiDistributionConfigurations

Nested list of AMI distribution configuration.

func (GetDistributionConfigurationDistributionOutput) ElementType

func (GetDistributionConfigurationDistributionOutput) LicenseConfigurationArns

Set of Amazon Resource Names (ARNs) of License Manager License Configurations.

func (GetDistributionConfigurationDistributionOutput) Region

AWS Region of distribution.

func (GetDistributionConfigurationDistributionOutput) ToGetDistributionConfigurationDistributionOutput

func (o GetDistributionConfigurationDistributionOutput) ToGetDistributionConfigurationDistributionOutput() GetDistributionConfigurationDistributionOutput

func (GetDistributionConfigurationDistributionOutput) ToGetDistributionConfigurationDistributionOutputWithContext

func (o GetDistributionConfigurationDistributionOutput) ToGetDistributionConfigurationDistributionOutputWithContext(ctx context.Context) GetDistributionConfigurationDistributionOutput

type GetInfrastructureConfigurationLogging

type GetInfrastructureConfigurationLogging struct {
	// Nested list of S3 logs settings.
	S3Logs []GetInfrastructureConfigurationLoggingS3Log `pulumi:"s3Logs"`
}

type GetInfrastructureConfigurationLoggingArgs

type GetInfrastructureConfigurationLoggingArgs struct {
	// Nested list of S3 logs settings.
	S3Logs GetInfrastructureConfigurationLoggingS3LogArrayInput `pulumi:"s3Logs"`
}

func (GetInfrastructureConfigurationLoggingArgs) ElementType

func (GetInfrastructureConfigurationLoggingArgs) ToGetInfrastructureConfigurationLoggingOutput

func (i GetInfrastructureConfigurationLoggingArgs) ToGetInfrastructureConfigurationLoggingOutput() GetInfrastructureConfigurationLoggingOutput

func (GetInfrastructureConfigurationLoggingArgs) ToGetInfrastructureConfigurationLoggingOutputWithContext

func (i GetInfrastructureConfigurationLoggingArgs) ToGetInfrastructureConfigurationLoggingOutputWithContext(ctx context.Context) GetInfrastructureConfigurationLoggingOutput

type GetInfrastructureConfigurationLoggingArray

type GetInfrastructureConfigurationLoggingArray []GetInfrastructureConfigurationLoggingInput

func (GetInfrastructureConfigurationLoggingArray) ElementType

func (GetInfrastructureConfigurationLoggingArray) ToGetInfrastructureConfigurationLoggingArrayOutput

func (i GetInfrastructureConfigurationLoggingArray) ToGetInfrastructureConfigurationLoggingArrayOutput() GetInfrastructureConfigurationLoggingArrayOutput

func (GetInfrastructureConfigurationLoggingArray) ToGetInfrastructureConfigurationLoggingArrayOutputWithContext

func (i GetInfrastructureConfigurationLoggingArray) ToGetInfrastructureConfigurationLoggingArrayOutputWithContext(ctx context.Context) GetInfrastructureConfigurationLoggingArrayOutput

type GetInfrastructureConfigurationLoggingArrayInput

type GetInfrastructureConfigurationLoggingArrayInput interface {
	pulumi.Input

	ToGetInfrastructureConfigurationLoggingArrayOutput() GetInfrastructureConfigurationLoggingArrayOutput
	ToGetInfrastructureConfigurationLoggingArrayOutputWithContext(context.Context) GetInfrastructureConfigurationLoggingArrayOutput
}

GetInfrastructureConfigurationLoggingArrayInput is an input type that accepts GetInfrastructureConfigurationLoggingArray and GetInfrastructureConfigurationLoggingArrayOutput values. You can construct a concrete instance of `GetInfrastructureConfigurationLoggingArrayInput` via:

GetInfrastructureConfigurationLoggingArray{ GetInfrastructureConfigurationLoggingArgs{...} }

type GetInfrastructureConfigurationLoggingArrayOutput

type GetInfrastructureConfigurationLoggingArrayOutput struct{ *pulumi.OutputState }

func (GetInfrastructureConfigurationLoggingArrayOutput) ElementType

func (GetInfrastructureConfigurationLoggingArrayOutput) Index

func (GetInfrastructureConfigurationLoggingArrayOutput) ToGetInfrastructureConfigurationLoggingArrayOutput

func (o GetInfrastructureConfigurationLoggingArrayOutput) ToGetInfrastructureConfigurationLoggingArrayOutput() GetInfrastructureConfigurationLoggingArrayOutput

func (GetInfrastructureConfigurationLoggingArrayOutput) ToGetInfrastructureConfigurationLoggingArrayOutputWithContext

func (o GetInfrastructureConfigurationLoggingArrayOutput) ToGetInfrastructureConfigurationLoggingArrayOutputWithContext(ctx context.Context) GetInfrastructureConfigurationLoggingArrayOutput

type GetInfrastructureConfigurationLoggingInput

type GetInfrastructureConfigurationLoggingInput interface {
	pulumi.Input

	ToGetInfrastructureConfigurationLoggingOutput() GetInfrastructureConfigurationLoggingOutput
	ToGetInfrastructureConfigurationLoggingOutputWithContext(context.Context) GetInfrastructureConfigurationLoggingOutput
}

GetInfrastructureConfigurationLoggingInput is an input type that accepts GetInfrastructureConfigurationLoggingArgs and GetInfrastructureConfigurationLoggingOutput values. You can construct a concrete instance of `GetInfrastructureConfigurationLoggingInput` via:

GetInfrastructureConfigurationLoggingArgs{...}

type GetInfrastructureConfigurationLoggingOutput

type GetInfrastructureConfigurationLoggingOutput struct{ *pulumi.OutputState }

func (GetInfrastructureConfigurationLoggingOutput) ElementType

func (GetInfrastructureConfigurationLoggingOutput) S3Logs

Nested list of S3 logs settings.

func (GetInfrastructureConfigurationLoggingOutput) ToGetInfrastructureConfigurationLoggingOutput

func (o GetInfrastructureConfigurationLoggingOutput) ToGetInfrastructureConfigurationLoggingOutput() GetInfrastructureConfigurationLoggingOutput

func (GetInfrastructureConfigurationLoggingOutput) ToGetInfrastructureConfigurationLoggingOutputWithContext

func (o GetInfrastructureConfigurationLoggingOutput) ToGetInfrastructureConfigurationLoggingOutputWithContext(ctx context.Context) GetInfrastructureConfigurationLoggingOutput

type GetInfrastructureConfigurationLoggingS3Log

type GetInfrastructureConfigurationLoggingS3Log struct {
	// Name of the S3 Bucket for logging.
	S3BucketName string `pulumi:"s3BucketName"`
	// Key prefix for S3 Bucket logging.
	S3KeyPrefix string `pulumi:"s3KeyPrefix"`
}

type GetInfrastructureConfigurationLoggingS3LogArgs

type GetInfrastructureConfigurationLoggingS3LogArgs struct {
	// Name of the S3 Bucket for logging.
	S3BucketName pulumi.StringInput `pulumi:"s3BucketName"`
	// Key prefix for S3 Bucket logging.
	S3KeyPrefix pulumi.StringInput `pulumi:"s3KeyPrefix"`
}

func (GetInfrastructureConfigurationLoggingS3LogArgs) ElementType

func (GetInfrastructureConfigurationLoggingS3LogArgs) ToGetInfrastructureConfigurationLoggingS3LogOutput

func (i GetInfrastructureConfigurationLoggingS3LogArgs) ToGetInfrastructureConfigurationLoggingS3LogOutput() GetInfrastructureConfigurationLoggingS3LogOutput

func (GetInfrastructureConfigurationLoggingS3LogArgs) ToGetInfrastructureConfigurationLoggingS3LogOutputWithContext

func (i GetInfrastructureConfigurationLoggingS3LogArgs) ToGetInfrastructureConfigurationLoggingS3LogOutputWithContext(ctx context.Context) GetInfrastructureConfigurationLoggingS3LogOutput

type GetInfrastructureConfigurationLoggingS3LogArray

type GetInfrastructureConfigurationLoggingS3LogArray []GetInfrastructureConfigurationLoggingS3LogInput

func (GetInfrastructureConfigurationLoggingS3LogArray) ElementType

func (GetInfrastructureConfigurationLoggingS3LogArray) ToGetInfrastructureConfigurationLoggingS3LogArrayOutput

func (i GetInfrastructureConfigurationLoggingS3LogArray) ToGetInfrastructureConfigurationLoggingS3LogArrayOutput() GetInfrastructureConfigurationLoggingS3LogArrayOutput

func (GetInfrastructureConfigurationLoggingS3LogArray) ToGetInfrastructureConfigurationLoggingS3LogArrayOutputWithContext

func (i GetInfrastructureConfigurationLoggingS3LogArray) ToGetInfrastructureConfigurationLoggingS3LogArrayOutputWithContext(ctx context.Context) GetInfrastructureConfigurationLoggingS3LogArrayOutput

type GetInfrastructureConfigurationLoggingS3LogArrayInput

type GetInfrastructureConfigurationLoggingS3LogArrayInput interface {
	pulumi.Input

	ToGetInfrastructureConfigurationLoggingS3LogArrayOutput() GetInfrastructureConfigurationLoggingS3LogArrayOutput
	ToGetInfrastructureConfigurationLoggingS3LogArrayOutputWithContext(context.Context) GetInfrastructureConfigurationLoggingS3LogArrayOutput
}

GetInfrastructureConfigurationLoggingS3LogArrayInput is an input type that accepts GetInfrastructureConfigurationLoggingS3LogArray and GetInfrastructureConfigurationLoggingS3LogArrayOutput values. You can construct a concrete instance of `GetInfrastructureConfigurationLoggingS3LogArrayInput` via:

GetInfrastructureConfigurationLoggingS3LogArray{ GetInfrastructureConfigurationLoggingS3LogArgs{...} }

type GetInfrastructureConfigurationLoggingS3LogArrayOutput

type GetInfrastructureConfigurationLoggingS3LogArrayOutput struct{ *pulumi.OutputState }

func (GetInfrastructureConfigurationLoggingS3LogArrayOutput) ElementType

func (GetInfrastructureConfigurationLoggingS3LogArrayOutput) Index

func (GetInfrastructureConfigurationLoggingS3LogArrayOutput) ToGetInfrastructureConfigurationLoggingS3LogArrayOutput

func (GetInfrastructureConfigurationLoggingS3LogArrayOutput) ToGetInfrastructureConfigurationLoggingS3LogArrayOutputWithContext

func (o GetInfrastructureConfigurationLoggingS3LogArrayOutput) ToGetInfrastructureConfigurationLoggingS3LogArrayOutputWithContext(ctx context.Context) GetInfrastructureConfigurationLoggingS3LogArrayOutput

type GetInfrastructureConfigurationLoggingS3LogInput

type GetInfrastructureConfigurationLoggingS3LogInput interface {
	pulumi.Input

	ToGetInfrastructureConfigurationLoggingS3LogOutput() GetInfrastructureConfigurationLoggingS3LogOutput
	ToGetInfrastructureConfigurationLoggingS3LogOutputWithContext(context.Context) GetInfrastructureConfigurationLoggingS3LogOutput
}

GetInfrastructureConfigurationLoggingS3LogInput is an input type that accepts GetInfrastructureConfigurationLoggingS3LogArgs and GetInfrastructureConfigurationLoggingS3LogOutput values. You can construct a concrete instance of `GetInfrastructureConfigurationLoggingS3LogInput` via:

GetInfrastructureConfigurationLoggingS3LogArgs{...}

type GetInfrastructureConfigurationLoggingS3LogOutput

type GetInfrastructureConfigurationLoggingS3LogOutput struct{ *pulumi.OutputState }

func (GetInfrastructureConfigurationLoggingS3LogOutput) ElementType

func (GetInfrastructureConfigurationLoggingS3LogOutput) S3BucketName

Name of the S3 Bucket for logging.

func (GetInfrastructureConfigurationLoggingS3LogOutput) S3KeyPrefix

Key prefix for S3 Bucket logging.

func (GetInfrastructureConfigurationLoggingS3LogOutput) ToGetInfrastructureConfigurationLoggingS3LogOutput

func (o GetInfrastructureConfigurationLoggingS3LogOutput) ToGetInfrastructureConfigurationLoggingS3LogOutput() GetInfrastructureConfigurationLoggingS3LogOutput

func (GetInfrastructureConfigurationLoggingS3LogOutput) ToGetInfrastructureConfigurationLoggingS3LogOutputWithContext

func (o GetInfrastructureConfigurationLoggingS3LogOutput) ToGetInfrastructureConfigurationLoggingS3LogOutputWithContext(ctx context.Context) GetInfrastructureConfigurationLoggingS3LogOutput

type InfrastructureConfiguration

type InfrastructureConfiguration struct {
	pulumi.CustomResourceState

	// Amazon Resource Name (ARN) of the configuration.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Date when the configuration was created.
	DateCreated pulumi.StringOutput `pulumi:"dateCreated"`
	// Date when the configuration was updated.
	DateUpdated pulumi.StringOutput `pulumi:"dateUpdated"`
	// Description for the configuration.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Name of IAM Instance Profile.
	InstanceProfileName pulumi.StringOutput `pulumi:"instanceProfileName"`
	// Set of EC2 Instance Types.
	InstanceTypes pulumi.StringArrayOutput `pulumi:"instanceTypes"`
	// Name of EC2 Key Pair.
	KeyPair pulumi.StringPtrOutput `pulumi:"keyPair"`
	// Configuration block with logging settings. Detailed below.
	Logging InfrastructureConfigurationLoggingPtrOutput `pulumi:"logging"`
	// Name for the configuration.
	Name pulumi.StringOutput `pulumi:"name"`
	// Key-value map of resource tags to assign to infrastructure created by the configuration.
	ResourceTags pulumi.StringMapOutput `pulumi:"resourceTags"`
	// Set of EC2 Security Group identifiers.
	SecurityGroupIds pulumi.StringArrayOutput `pulumi:"securityGroupIds"`
	// Amazon Resource Name (ARN) of SNS Topic.
	SnsTopicArn pulumi.StringPtrOutput `pulumi:"snsTopicArn"`
	// EC2 Subnet identifier. Also requires `securityGroupIds` argument.
	SubnetId pulumi.StringPtrOutput `pulumi:"subnetId"`
	// Key-value map of resource tags to assign to the configuration.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Enable if the instance should be terminated when the pipeline fails. Defaults to `false`.
	TerminateInstanceOnFailure pulumi.BoolPtrOutput `pulumi:"terminateInstanceOnFailure"`
}

Manages an Image Builder Infrastructure Configuration.

## Import

`aws_imagebuilder_infrastructure_configuration` can be imported using the Amazon Resource Name (ARN), e.g.

```sh

$ pulumi import aws:imagebuilder/infrastructureConfiguration:InfrastructureConfiguration example arn:aws:imagebuilder:us-east-1:123456789012:infrastructure-component/example

```

func GetInfrastructureConfiguration

func GetInfrastructureConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InfrastructureConfigurationState, opts ...pulumi.ResourceOption) (*InfrastructureConfiguration, error)

GetInfrastructureConfiguration gets an existing InfrastructureConfiguration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewInfrastructureConfiguration

func NewInfrastructureConfiguration(ctx *pulumi.Context,
	name string, args *InfrastructureConfigurationArgs, opts ...pulumi.ResourceOption) (*InfrastructureConfiguration, error)

NewInfrastructureConfiguration registers a new resource with the given unique name, arguments, and options.

func (InfrastructureConfiguration) ElementType

func (InfrastructureConfiguration) ToInfrastructureConfigurationOutput

func (i InfrastructureConfiguration) ToInfrastructureConfigurationOutput() InfrastructureConfigurationOutput

func (InfrastructureConfiguration) ToInfrastructureConfigurationOutputWithContext

func (i InfrastructureConfiguration) ToInfrastructureConfigurationOutputWithContext(ctx context.Context) InfrastructureConfigurationOutput

type InfrastructureConfigurationArgs

type InfrastructureConfigurationArgs struct {
	// Description for the configuration.
	Description pulumi.StringPtrInput
	// Name of IAM Instance Profile.
	InstanceProfileName pulumi.StringInput
	// Set of EC2 Instance Types.
	InstanceTypes pulumi.StringArrayInput
	// Name of EC2 Key Pair.
	KeyPair pulumi.StringPtrInput
	// Configuration block with logging settings. Detailed below.
	Logging InfrastructureConfigurationLoggingPtrInput
	// Name for the configuration.
	Name pulumi.StringPtrInput
	// Key-value map of resource tags to assign to infrastructure created by the configuration.
	ResourceTags pulumi.StringMapInput
	// Set of EC2 Security Group identifiers.
	SecurityGroupIds pulumi.StringArrayInput
	// Amazon Resource Name (ARN) of SNS Topic.
	SnsTopicArn pulumi.StringPtrInput
	// EC2 Subnet identifier. Also requires `securityGroupIds` argument.
	SubnetId pulumi.StringPtrInput
	// Key-value map of resource tags to assign to the configuration.
	Tags pulumi.StringMapInput
	// Enable if the instance should be terminated when the pipeline fails. Defaults to `false`.
	TerminateInstanceOnFailure pulumi.BoolPtrInput
}

The set of arguments for constructing a InfrastructureConfiguration resource.

func (InfrastructureConfigurationArgs) ElementType

type InfrastructureConfigurationInput

type InfrastructureConfigurationInput interface {
	pulumi.Input

	ToInfrastructureConfigurationOutput() InfrastructureConfigurationOutput
	ToInfrastructureConfigurationOutputWithContext(ctx context.Context) InfrastructureConfigurationOutput
}

type InfrastructureConfigurationLogging

type InfrastructureConfigurationLogging struct {
	// Configuration block with S3 logging settings. Detailed below.
	S3Logs InfrastructureConfigurationLoggingS3Logs `pulumi:"s3Logs"`
}

type InfrastructureConfigurationLoggingArgs

type InfrastructureConfigurationLoggingArgs struct {
	// Configuration block with S3 logging settings. Detailed below.
	S3Logs InfrastructureConfigurationLoggingS3LogsInput `pulumi:"s3Logs"`
}

func (InfrastructureConfigurationLoggingArgs) ElementType

func (InfrastructureConfigurationLoggingArgs) ToInfrastructureConfigurationLoggingOutput

func (i InfrastructureConfigurationLoggingArgs) ToInfrastructureConfigurationLoggingOutput() InfrastructureConfigurationLoggingOutput

func (InfrastructureConfigurationLoggingArgs) ToInfrastructureConfigurationLoggingOutputWithContext

func (i InfrastructureConfigurationLoggingArgs) ToInfrastructureConfigurationLoggingOutputWithContext(ctx context.Context) InfrastructureConfigurationLoggingOutput

func (InfrastructureConfigurationLoggingArgs) ToInfrastructureConfigurationLoggingPtrOutput

func (i InfrastructureConfigurationLoggingArgs) ToInfrastructureConfigurationLoggingPtrOutput() InfrastructureConfigurationLoggingPtrOutput

func (InfrastructureConfigurationLoggingArgs) ToInfrastructureConfigurationLoggingPtrOutputWithContext

func (i InfrastructureConfigurationLoggingArgs) ToInfrastructureConfigurationLoggingPtrOutputWithContext(ctx context.Context) InfrastructureConfigurationLoggingPtrOutput

type InfrastructureConfigurationLoggingInput

type InfrastructureConfigurationLoggingInput interface {
	pulumi.Input

	ToInfrastructureConfigurationLoggingOutput() InfrastructureConfigurationLoggingOutput
	ToInfrastructureConfigurationLoggingOutputWithContext(context.Context) InfrastructureConfigurationLoggingOutput
}

InfrastructureConfigurationLoggingInput is an input type that accepts InfrastructureConfigurationLoggingArgs and InfrastructureConfigurationLoggingOutput values. You can construct a concrete instance of `InfrastructureConfigurationLoggingInput` via:

InfrastructureConfigurationLoggingArgs{...}

type InfrastructureConfigurationLoggingOutput

type InfrastructureConfigurationLoggingOutput struct{ *pulumi.OutputState }

func (InfrastructureConfigurationLoggingOutput) ElementType

func (InfrastructureConfigurationLoggingOutput) S3Logs

Configuration block with S3 logging settings. Detailed below.

func (InfrastructureConfigurationLoggingOutput) ToInfrastructureConfigurationLoggingOutput

func (o InfrastructureConfigurationLoggingOutput) ToInfrastructureConfigurationLoggingOutput() InfrastructureConfigurationLoggingOutput

func (InfrastructureConfigurationLoggingOutput) ToInfrastructureConfigurationLoggingOutputWithContext

func (o InfrastructureConfigurationLoggingOutput) ToInfrastructureConfigurationLoggingOutputWithContext(ctx context.Context) InfrastructureConfigurationLoggingOutput

func (InfrastructureConfigurationLoggingOutput) ToInfrastructureConfigurationLoggingPtrOutput

func (o InfrastructureConfigurationLoggingOutput) ToInfrastructureConfigurationLoggingPtrOutput() InfrastructureConfigurationLoggingPtrOutput

func (InfrastructureConfigurationLoggingOutput) ToInfrastructureConfigurationLoggingPtrOutputWithContext

func (o InfrastructureConfigurationLoggingOutput) ToInfrastructureConfigurationLoggingPtrOutputWithContext(ctx context.Context) InfrastructureConfigurationLoggingPtrOutput

type InfrastructureConfigurationLoggingPtrInput

type InfrastructureConfigurationLoggingPtrInput interface {
	pulumi.Input

	ToInfrastructureConfigurationLoggingPtrOutput() InfrastructureConfigurationLoggingPtrOutput
	ToInfrastructureConfigurationLoggingPtrOutputWithContext(context.Context) InfrastructureConfigurationLoggingPtrOutput
}

InfrastructureConfigurationLoggingPtrInput is an input type that accepts InfrastructureConfigurationLoggingArgs, InfrastructureConfigurationLoggingPtr and InfrastructureConfigurationLoggingPtrOutput values. You can construct a concrete instance of `InfrastructureConfigurationLoggingPtrInput` via:

        InfrastructureConfigurationLoggingArgs{...}

or:

        nil

type InfrastructureConfigurationLoggingPtrOutput

type InfrastructureConfigurationLoggingPtrOutput struct{ *pulumi.OutputState }

func (InfrastructureConfigurationLoggingPtrOutput) Elem

func (InfrastructureConfigurationLoggingPtrOutput) ElementType

func (InfrastructureConfigurationLoggingPtrOutput) S3Logs

Configuration block with S3 logging settings. Detailed below.

func (InfrastructureConfigurationLoggingPtrOutput) ToInfrastructureConfigurationLoggingPtrOutput

func (o InfrastructureConfigurationLoggingPtrOutput) ToInfrastructureConfigurationLoggingPtrOutput() InfrastructureConfigurationLoggingPtrOutput

func (InfrastructureConfigurationLoggingPtrOutput) ToInfrastructureConfigurationLoggingPtrOutputWithContext

func (o InfrastructureConfigurationLoggingPtrOutput) ToInfrastructureConfigurationLoggingPtrOutputWithContext(ctx context.Context) InfrastructureConfigurationLoggingPtrOutput

type InfrastructureConfigurationLoggingS3Logs

type InfrastructureConfigurationLoggingS3Logs struct {
	// Name of the S3 Bucket.
	S3BucketName string `pulumi:"s3BucketName"`
	// Prefix to use for S3 logs. Defaults to `/`.
	S3KeyPrefix *string `pulumi:"s3KeyPrefix"`
}

type InfrastructureConfigurationLoggingS3LogsArgs

type InfrastructureConfigurationLoggingS3LogsArgs struct {
	// Name of the S3 Bucket.
	S3BucketName pulumi.StringInput `pulumi:"s3BucketName"`
	// Prefix to use for S3 logs. Defaults to `/`.
	S3KeyPrefix pulumi.StringPtrInput `pulumi:"s3KeyPrefix"`
}

func (InfrastructureConfigurationLoggingS3LogsArgs) ElementType

func (InfrastructureConfigurationLoggingS3LogsArgs) ToInfrastructureConfigurationLoggingS3LogsOutput

func (i InfrastructureConfigurationLoggingS3LogsArgs) ToInfrastructureConfigurationLoggingS3LogsOutput() InfrastructureConfigurationLoggingS3LogsOutput

func (InfrastructureConfigurationLoggingS3LogsArgs) ToInfrastructureConfigurationLoggingS3LogsOutputWithContext

func (i InfrastructureConfigurationLoggingS3LogsArgs) ToInfrastructureConfigurationLoggingS3LogsOutputWithContext(ctx context.Context) InfrastructureConfigurationLoggingS3LogsOutput

func (InfrastructureConfigurationLoggingS3LogsArgs) ToInfrastructureConfigurationLoggingS3LogsPtrOutput

func (i InfrastructureConfigurationLoggingS3LogsArgs) ToInfrastructureConfigurationLoggingS3LogsPtrOutput() InfrastructureConfigurationLoggingS3LogsPtrOutput

func (InfrastructureConfigurationLoggingS3LogsArgs) ToInfrastructureConfigurationLoggingS3LogsPtrOutputWithContext

func (i InfrastructureConfigurationLoggingS3LogsArgs) ToInfrastructureConfigurationLoggingS3LogsPtrOutputWithContext(ctx context.Context) InfrastructureConfigurationLoggingS3LogsPtrOutput

type InfrastructureConfigurationLoggingS3LogsInput

type InfrastructureConfigurationLoggingS3LogsInput interface {
	pulumi.Input

	ToInfrastructureConfigurationLoggingS3LogsOutput() InfrastructureConfigurationLoggingS3LogsOutput
	ToInfrastructureConfigurationLoggingS3LogsOutputWithContext(context.Context) InfrastructureConfigurationLoggingS3LogsOutput
}

InfrastructureConfigurationLoggingS3LogsInput is an input type that accepts InfrastructureConfigurationLoggingS3LogsArgs and InfrastructureConfigurationLoggingS3LogsOutput values. You can construct a concrete instance of `InfrastructureConfigurationLoggingS3LogsInput` via:

InfrastructureConfigurationLoggingS3LogsArgs{...}

type InfrastructureConfigurationLoggingS3LogsOutput

type InfrastructureConfigurationLoggingS3LogsOutput struct{ *pulumi.OutputState }

func (InfrastructureConfigurationLoggingS3LogsOutput) ElementType

func (InfrastructureConfigurationLoggingS3LogsOutput) S3BucketName

Name of the S3 Bucket.

func (InfrastructureConfigurationLoggingS3LogsOutput) S3KeyPrefix

Prefix to use for S3 logs. Defaults to `/`.

func (InfrastructureConfigurationLoggingS3LogsOutput) ToInfrastructureConfigurationLoggingS3LogsOutput

func (o InfrastructureConfigurationLoggingS3LogsOutput) ToInfrastructureConfigurationLoggingS3LogsOutput() InfrastructureConfigurationLoggingS3LogsOutput

func (InfrastructureConfigurationLoggingS3LogsOutput) ToInfrastructureConfigurationLoggingS3LogsOutputWithContext

func (o InfrastructureConfigurationLoggingS3LogsOutput) ToInfrastructureConfigurationLoggingS3LogsOutputWithContext(ctx context.Context) InfrastructureConfigurationLoggingS3LogsOutput

func (InfrastructureConfigurationLoggingS3LogsOutput) ToInfrastructureConfigurationLoggingS3LogsPtrOutput

func (o InfrastructureConfigurationLoggingS3LogsOutput) ToInfrastructureConfigurationLoggingS3LogsPtrOutput() InfrastructureConfigurationLoggingS3LogsPtrOutput

func (InfrastructureConfigurationLoggingS3LogsOutput) ToInfrastructureConfigurationLoggingS3LogsPtrOutputWithContext

func (o InfrastructureConfigurationLoggingS3LogsOutput) ToInfrastructureConfigurationLoggingS3LogsPtrOutputWithContext(ctx context.Context) InfrastructureConfigurationLoggingS3LogsPtrOutput

type InfrastructureConfigurationLoggingS3LogsPtrInput

type InfrastructureConfigurationLoggingS3LogsPtrInput interface {
	pulumi.Input

	ToInfrastructureConfigurationLoggingS3LogsPtrOutput() InfrastructureConfigurationLoggingS3LogsPtrOutput
	ToInfrastructureConfigurationLoggingS3LogsPtrOutputWithContext(context.Context) InfrastructureConfigurationLoggingS3LogsPtrOutput
}

InfrastructureConfigurationLoggingS3LogsPtrInput is an input type that accepts InfrastructureConfigurationLoggingS3LogsArgs, InfrastructureConfigurationLoggingS3LogsPtr and InfrastructureConfigurationLoggingS3LogsPtrOutput values. You can construct a concrete instance of `InfrastructureConfigurationLoggingS3LogsPtrInput` via:

        InfrastructureConfigurationLoggingS3LogsArgs{...}

or:

        nil

type InfrastructureConfigurationLoggingS3LogsPtrOutput

type InfrastructureConfigurationLoggingS3LogsPtrOutput struct{ *pulumi.OutputState }

func (InfrastructureConfigurationLoggingS3LogsPtrOutput) Elem

func (InfrastructureConfigurationLoggingS3LogsPtrOutput) ElementType

func (InfrastructureConfigurationLoggingS3LogsPtrOutput) S3BucketName

Name of the S3 Bucket.

func (InfrastructureConfigurationLoggingS3LogsPtrOutput) S3KeyPrefix

Prefix to use for S3 logs. Defaults to `/`.

func (InfrastructureConfigurationLoggingS3LogsPtrOutput) ToInfrastructureConfigurationLoggingS3LogsPtrOutput

func (o InfrastructureConfigurationLoggingS3LogsPtrOutput) ToInfrastructureConfigurationLoggingS3LogsPtrOutput() InfrastructureConfigurationLoggingS3LogsPtrOutput

func (InfrastructureConfigurationLoggingS3LogsPtrOutput) ToInfrastructureConfigurationLoggingS3LogsPtrOutputWithContext

func (o InfrastructureConfigurationLoggingS3LogsPtrOutput) ToInfrastructureConfigurationLoggingS3LogsPtrOutputWithContext(ctx context.Context) InfrastructureConfigurationLoggingS3LogsPtrOutput

type InfrastructureConfigurationOutput

type InfrastructureConfigurationOutput struct {
	*pulumi.OutputState
}

func (InfrastructureConfigurationOutput) ElementType

func (InfrastructureConfigurationOutput) ToInfrastructureConfigurationOutput

func (o InfrastructureConfigurationOutput) ToInfrastructureConfigurationOutput() InfrastructureConfigurationOutput

func (InfrastructureConfigurationOutput) ToInfrastructureConfigurationOutputWithContext

func (o InfrastructureConfigurationOutput) ToInfrastructureConfigurationOutputWithContext(ctx context.Context) InfrastructureConfigurationOutput

type InfrastructureConfigurationState

type InfrastructureConfigurationState struct {
	// Amazon Resource Name (ARN) of the configuration.
	Arn pulumi.StringPtrInput
	// Date when the configuration was created.
	DateCreated pulumi.StringPtrInput
	// Date when the configuration was updated.
	DateUpdated pulumi.StringPtrInput
	// Description for the configuration.
	Description pulumi.StringPtrInput
	// Name of IAM Instance Profile.
	InstanceProfileName pulumi.StringPtrInput
	// Set of EC2 Instance Types.
	InstanceTypes pulumi.StringArrayInput
	// Name of EC2 Key Pair.
	KeyPair pulumi.StringPtrInput
	// Configuration block with logging settings. Detailed below.
	Logging InfrastructureConfigurationLoggingPtrInput
	// Name for the configuration.
	Name pulumi.StringPtrInput
	// Key-value map of resource tags to assign to infrastructure created by the configuration.
	ResourceTags pulumi.StringMapInput
	// Set of EC2 Security Group identifiers.
	SecurityGroupIds pulumi.StringArrayInput
	// Amazon Resource Name (ARN) of SNS Topic.
	SnsTopicArn pulumi.StringPtrInput
	// EC2 Subnet identifier. Also requires `securityGroupIds` argument.
	SubnetId pulumi.StringPtrInput
	// Key-value map of resource tags to assign to the configuration.
	Tags pulumi.StringMapInput
	// Enable if the instance should be terminated when the pipeline fails. Defaults to `false`.
	TerminateInstanceOnFailure pulumi.BoolPtrInput
}

func (InfrastructureConfigurationState) ElementType

type LookupComponentArgs

type LookupComponentArgs struct {
	// Amazon Resource Name (ARN) of the component.
	Arn string `pulumi:"arn"`
	// Key-value map of resource tags for the component.
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getComponent.

type LookupComponentResult

type LookupComponentResult struct {
	Arn string `pulumi:"arn"`
	// Change description of the component.
	ChangeDescription string `pulumi:"changeDescription"`
	// Data of the component.
	Data string `pulumi:"data"`
	// Date the component was created.
	DateCreated string `pulumi:"dateCreated"`
	// Description of the component.
	Description string `pulumi:"description"`
	// Encryption status of the component.
	Encrypted bool `pulumi:"encrypted"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Amazon Resource Name (ARN) of the Key Management Service (KMS) Key used to encrypt the component.
	KmsKeyId string `pulumi:"kmsKeyId"`
	// Name of the component.
	Name string `pulumi:"name"`
	// Owner of the component.
	Owner string `pulumi:"owner"`
	// Platform of the component.
	Platform string `pulumi:"platform"`
	// Operating Systems (OSes) supported by the component.
	SupportedOsVersions []string `pulumi:"supportedOsVersions"`
	// Key-value map of resource tags for the component.
	Tags map[string]string `pulumi:"tags"`
	// Type of the component.
	Type string `pulumi:"type"`
	// Version of the component.
	Version string `pulumi:"version"`
}

A collection of values returned by getComponent.

func LookupComponent

func LookupComponent(ctx *pulumi.Context, args *LookupComponentArgs, opts ...pulumi.InvokeOption) (*LookupComponentResult, error)

Provides details about an Image Builder Component.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/imagebuilder"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := imagebuilder.LookupComponent(ctx, &imagebuilder.LookupComponentArgs{
			Arn: "arn:aws:imagebuilder:us-west-2:aws:component/amazon-cloudwatch-agent-linux/1.0.0",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupDistributionConfigurationArgs

type LookupDistributionConfigurationArgs struct {
	// Amazon Resource Name (ARN) of the distribution configuration.
	Arn string `pulumi:"arn"`
	// Key-value map of resource tags for the distribution configuration.
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getDistributionConfiguration.

type LookupDistributionConfigurationResult

type LookupDistributionConfigurationResult struct {
	Arn string `pulumi:"arn"`
	// Date the distribution configuration was created.
	DateCreated string `pulumi:"dateCreated"`
	// Date the distribution configuration was updated.
	DateUpdated string `pulumi:"dateUpdated"`
	// Description to apply to distributed AMI.
	Description string `pulumi:"description"`
	// Set of distributions.
	Distributions []GetDistributionConfigurationDistribution `pulumi:"distributions"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Name of the distribution configuration.
	Name string `pulumi:"name"`
	// Key-value map of resource tags for the distribution configuration.
	Tags map[string]string `pulumi:"tags"`
}

A collection of values returned by getDistributionConfiguration.

func LookupDistributionConfiguration

Provides details about an Image Builder Distribution Configuration.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/imagebuilder"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := imagebuilder.LookupDistributionConfiguration(ctx, &imagebuilder.LookupDistributionConfigurationArgs{
			Arn: "arn:aws:imagebuilder:us-west-2:aws:distribution-configuration/example",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupInfrastructureConfigurationArgs

type LookupInfrastructureConfigurationArgs struct {
	// Amazon Resource Name (ARN) of the infrastructure configuration.
	Arn string `pulumi:"arn"`
	// Key-value map of resource tags for the infrastructure created by the infrastructure configuration.
	ResourceTags map[string]string `pulumi:"resourceTags"`
	// Key-value map of resource tags for the infrastructure configuration.
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getInfrastructureConfiguration.

type LookupInfrastructureConfigurationResult

type LookupInfrastructureConfigurationResult struct {
	Arn string `pulumi:"arn"`
	// Date the infrastructure configuration was updated.
	DateCreated string `pulumi:"dateCreated"`
	DateUpdated string `pulumi:"dateUpdated"`
	// Description of the infrastructure configuration.
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Name of the IAM Instance Profile associated with the configuration.
	InstanceProfileName string `pulumi:"instanceProfileName"`
	// Set of EC2 Instance Types associated with the configuration.
	InstanceTypes []string `pulumi:"instanceTypes"`
	// Name of the EC2 Key Pair associated with the configuration.
	KeyPair string `pulumi:"keyPair"`
	// Nested list of logging settings.
	Loggings []GetInfrastructureConfigurationLogging `pulumi:"loggings"`
	// Name of the infrastructure configuration.
	Name string `pulumi:"name"`
	// Key-value map of resource tags for the infrastructure created by the infrastructure configuration.
	ResourceTags map[string]string `pulumi:"resourceTags"`
	// Set of EC2 Security Group identifiers associated with the configuration.
	SecurityGroupIds []string `pulumi:"securityGroupIds"`
	// Amazon Resource Name (ARN) of the SNS Topic associated with the configuration.
	SnsTopicArn string `pulumi:"snsTopicArn"`
	// Identifier of the EC2 Subnet associated with the configuration.
	SubnetId string `pulumi:"subnetId"`
	// Key-value map of resource tags for the infrastructure configuration.
	Tags map[string]string `pulumi:"tags"`
	// Whether instances are terminated on failure.
	TerminateInstanceOnFailure bool `pulumi:"terminateInstanceOnFailure"`
}

A collection of values returned by getInfrastructureConfiguration.

func LookupInfrastructureConfiguration

Provides details about an Image Builder Infrastructure Configuration.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/imagebuilder"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := imagebuilder.LookupInfrastructureConfiguration(ctx, &imagebuilder.LookupInfrastructureConfigurationArgs{
			Arn: "arn:aws:imagebuilder:us-west-2:aws:infrastructure-configuration/example",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL