aws.imagebuilder.DistributionConfiguration
Explore with Pulumi AI
Manages an Image Builder Distribution Configuration.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.imagebuilder.DistributionConfiguration("example", {
    name: "example",
    distributions: [{
        amiDistributionConfiguration: {
            amiTags: {
                CostCenter: "IT",
            },
            name: "example-{{ imagebuilder:buildDate }}",
            launchPermission: {
                userIds: ["123456789012"],
            },
        },
        launchTemplateConfigurations: [{
            launchTemplateId: "lt-0aaa1bcde2ff3456",
        }],
        region: "us-east-1",
    }],
});
import pulumi
import pulumi_aws as aws
example = aws.imagebuilder.DistributionConfiguration("example",
    name="example",
    distributions=[{
        "ami_distribution_configuration": {
            "ami_tags": {
                "CostCenter": "IT",
            },
            "name": "example-{{ imagebuilder:buildDate }}",
            "launch_permission": {
                "user_ids": ["123456789012"],
            },
        },
        "launch_template_configurations": [{
            "launch_template_id": "lt-0aaa1bcde2ff3456",
        }],
        "region": "us-east-1",
    }])
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/imagebuilder"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := imagebuilder.NewDistributionConfiguration(ctx, "example", &imagebuilder.DistributionConfigurationArgs{
			Name: pulumi.String("example"),
			Distributions: imagebuilder.DistributionConfigurationDistributionArray{
				&imagebuilder.DistributionConfigurationDistributionArgs{
					AmiDistributionConfiguration: &imagebuilder.DistributionConfigurationDistributionAmiDistributionConfigurationArgs{
						AmiTags: pulumi.StringMap{
							"CostCenter": pulumi.String("IT"),
						},
						Name: pulumi.String("example-{{ imagebuilder:buildDate }}"),
						LaunchPermission: &imagebuilder.DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs{
							UserIds: pulumi.StringArray{
								pulumi.String("123456789012"),
							},
						},
					},
					LaunchTemplateConfigurations: imagebuilder.DistributionConfigurationDistributionLaunchTemplateConfigurationArray{
						&imagebuilder.DistributionConfigurationDistributionLaunchTemplateConfigurationArgs{
							LaunchTemplateId: pulumi.String("lt-0aaa1bcde2ff3456"),
						},
					},
					Region: pulumi.String("us-east-1"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var example = new Aws.ImageBuilder.DistributionConfiguration("example", new()
    {
        Name = "example",
        Distributions = new[]
        {
            new Aws.ImageBuilder.Inputs.DistributionConfigurationDistributionArgs
            {
                AmiDistributionConfiguration = new Aws.ImageBuilder.Inputs.DistributionConfigurationDistributionAmiDistributionConfigurationArgs
                {
                    AmiTags = 
                    {
                        { "CostCenter", "IT" },
                    },
                    Name = "example-{{ imagebuilder:buildDate }}",
                    LaunchPermission = new Aws.ImageBuilder.Inputs.DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs
                    {
                        UserIds = new[]
                        {
                            "123456789012",
                        },
                    },
                },
                LaunchTemplateConfigurations = new[]
                {
                    new Aws.ImageBuilder.Inputs.DistributionConfigurationDistributionLaunchTemplateConfigurationArgs
                    {
                        LaunchTemplateId = "lt-0aaa1bcde2ff3456",
                    },
                },
                Region = "us-east-1",
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.imagebuilder.DistributionConfiguration;
import com.pulumi.aws.imagebuilder.DistributionConfigurationArgs;
import com.pulumi.aws.imagebuilder.inputs.DistributionConfigurationDistributionArgs;
import com.pulumi.aws.imagebuilder.inputs.DistributionConfigurationDistributionAmiDistributionConfigurationArgs;
import com.pulumi.aws.imagebuilder.inputs.DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var example = new DistributionConfiguration("example", DistributionConfigurationArgs.builder()
            .name("example")
            .distributions(DistributionConfigurationDistributionArgs.builder()
                .amiDistributionConfiguration(DistributionConfigurationDistributionAmiDistributionConfigurationArgs.builder()
                    .amiTags(Map.of("CostCenter", "IT"))
                    .name("example-{{ imagebuilder:buildDate }}")
                    .launchPermission(DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs.builder()
                        .userIds("123456789012")
                        .build())
                    .build())
                .launchTemplateConfigurations(DistributionConfigurationDistributionLaunchTemplateConfigurationArgs.builder()
                    .launchTemplateId("lt-0aaa1bcde2ff3456")
                    .build())
                .region("us-east-1")
                .build())
            .build());
    }
}
resources:
  example:
    type: aws:imagebuilder:DistributionConfiguration
    properties:
      name: example
      distributions:
        - amiDistributionConfiguration:
            amiTags:
              CostCenter: IT
            name: example-{{ imagebuilder:buildDate }}
            launchPermission:
              userIds:
                - '123456789012'
          launchTemplateConfigurations:
            - launchTemplateId: lt-0aaa1bcde2ff3456
          region: us-east-1
Create DistributionConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DistributionConfiguration(name: string, args: DistributionConfigurationArgs, opts?: CustomResourceOptions);@overload
def DistributionConfiguration(resource_name: str,
                              args: DistributionConfigurationArgs,
                              opts: Optional[ResourceOptions] = None)
@overload
def DistributionConfiguration(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              distributions: Optional[Sequence[DistributionConfigurationDistributionArgs]] = None,
                              description: Optional[str] = None,
                              name: Optional[str] = None,
                              tags: Optional[Mapping[str, str]] = None)func NewDistributionConfiguration(ctx *Context, name string, args DistributionConfigurationArgs, opts ...ResourceOption) (*DistributionConfiguration, error)public DistributionConfiguration(string name, DistributionConfigurationArgs args, CustomResourceOptions? opts = null)
public DistributionConfiguration(String name, DistributionConfigurationArgs args)
public DistributionConfiguration(String name, DistributionConfigurationArgs args, CustomResourceOptions options)
type: aws:imagebuilder:DistributionConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DistributionConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DistributionConfigurationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DistributionConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DistributionConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DistributionConfigurationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var distributionConfigurationResource = new Aws.ImageBuilder.DistributionConfiguration("distributionConfigurationResource", new()
{
    Distributions = new[]
    {
        new Aws.ImageBuilder.Inputs.DistributionConfigurationDistributionArgs
        {
            Region = "string",
            AmiDistributionConfiguration = new Aws.ImageBuilder.Inputs.DistributionConfigurationDistributionAmiDistributionConfigurationArgs
            {
                AmiTags = 
                {
                    { "string", "string" },
                },
                Description = "string",
                KmsKeyId = "string",
                LaunchPermission = new Aws.ImageBuilder.Inputs.DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs
                {
                    OrganizationArns = new[]
                    {
                        "string",
                    },
                    OrganizationalUnitArns = new[]
                    {
                        "string",
                    },
                    UserGroups = new[]
                    {
                        "string",
                    },
                    UserIds = new[]
                    {
                        "string",
                    },
                },
                Name = "string",
                TargetAccountIds = new[]
                {
                    "string",
                },
            },
            ContainerDistributionConfiguration = new Aws.ImageBuilder.Inputs.DistributionConfigurationDistributionContainerDistributionConfigurationArgs
            {
                TargetRepository = new Aws.ImageBuilder.Inputs.DistributionConfigurationDistributionContainerDistributionConfigurationTargetRepositoryArgs
                {
                    RepositoryName = "string",
                    Service = "string",
                },
                ContainerTags = new[]
                {
                    "string",
                },
                Description = "string",
            },
            FastLaunchConfigurations = new[]
            {
                new Aws.ImageBuilder.Inputs.DistributionConfigurationDistributionFastLaunchConfigurationArgs
                {
                    AccountId = "string",
                    Enabled = false,
                    LaunchTemplate = new Aws.ImageBuilder.Inputs.DistributionConfigurationDistributionFastLaunchConfigurationLaunchTemplateArgs
                    {
                        LaunchTemplateId = "string",
                        LaunchTemplateName = "string",
                        LaunchTemplateVersion = "string",
                    },
                    MaxParallelLaunches = 0,
                    SnapshotConfiguration = new Aws.ImageBuilder.Inputs.DistributionConfigurationDistributionFastLaunchConfigurationSnapshotConfigurationArgs
                    {
                        TargetResourceCount = 0,
                    },
                },
            },
            LaunchTemplateConfigurations = new[]
            {
                new Aws.ImageBuilder.Inputs.DistributionConfigurationDistributionLaunchTemplateConfigurationArgs
                {
                    LaunchTemplateId = "string",
                    AccountId = "string",
                    Default = false,
                },
            },
            LicenseConfigurationArns = new[]
            {
                "string",
            },
            S3ExportConfiguration = new Aws.ImageBuilder.Inputs.DistributionConfigurationDistributionS3ExportConfigurationArgs
            {
                DiskImageFormat = "string",
                RoleName = "string",
                S3Bucket = "string",
                S3Prefix = "string",
            },
        },
    },
    Description = "string",
    Name = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := imagebuilder.NewDistributionConfiguration(ctx, "distributionConfigurationResource", &imagebuilder.DistributionConfigurationArgs{
	Distributions: imagebuilder.DistributionConfigurationDistributionArray{
		&imagebuilder.DistributionConfigurationDistributionArgs{
			Region: pulumi.String("string"),
			AmiDistributionConfiguration: &imagebuilder.DistributionConfigurationDistributionAmiDistributionConfigurationArgs{
				AmiTags: pulumi.StringMap{
					"string": pulumi.String("string"),
				},
				Description: pulumi.String("string"),
				KmsKeyId:    pulumi.String("string"),
				LaunchPermission: &imagebuilder.DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs{
					OrganizationArns: pulumi.StringArray{
						pulumi.String("string"),
					},
					OrganizationalUnitArns: pulumi.StringArray{
						pulumi.String("string"),
					},
					UserGroups: pulumi.StringArray{
						pulumi.String("string"),
					},
					UserIds: pulumi.StringArray{
						pulumi.String("string"),
					},
				},
				Name: pulumi.String("string"),
				TargetAccountIds: pulumi.StringArray{
					pulumi.String("string"),
				},
			},
			ContainerDistributionConfiguration: &imagebuilder.DistributionConfigurationDistributionContainerDistributionConfigurationArgs{
				TargetRepository: &imagebuilder.DistributionConfigurationDistributionContainerDistributionConfigurationTargetRepositoryArgs{
					RepositoryName: pulumi.String("string"),
					Service:        pulumi.String("string"),
				},
				ContainerTags: pulumi.StringArray{
					pulumi.String("string"),
				},
				Description: pulumi.String("string"),
			},
			FastLaunchConfigurations: imagebuilder.DistributionConfigurationDistributionFastLaunchConfigurationArray{
				&imagebuilder.DistributionConfigurationDistributionFastLaunchConfigurationArgs{
					AccountId: pulumi.String("string"),
					Enabled:   pulumi.Bool(false),
					LaunchTemplate: &imagebuilder.DistributionConfigurationDistributionFastLaunchConfigurationLaunchTemplateArgs{
						LaunchTemplateId:      pulumi.String("string"),
						LaunchTemplateName:    pulumi.String("string"),
						LaunchTemplateVersion: pulumi.String("string"),
					},
					MaxParallelLaunches: pulumi.Int(0),
					SnapshotConfiguration: &imagebuilder.DistributionConfigurationDistributionFastLaunchConfigurationSnapshotConfigurationArgs{
						TargetResourceCount: pulumi.Int(0),
					},
				},
			},
			LaunchTemplateConfigurations: imagebuilder.DistributionConfigurationDistributionLaunchTemplateConfigurationArray{
				&imagebuilder.DistributionConfigurationDistributionLaunchTemplateConfigurationArgs{
					LaunchTemplateId: pulumi.String("string"),
					AccountId:        pulumi.String("string"),
					Default:          pulumi.Bool(false),
				},
			},
			LicenseConfigurationArns: pulumi.StringArray{
				pulumi.String("string"),
			},
			S3ExportConfiguration: &imagebuilder.DistributionConfigurationDistributionS3ExportConfigurationArgs{
				DiskImageFormat: pulumi.String("string"),
				RoleName:        pulumi.String("string"),
				S3Bucket:        pulumi.String("string"),
				S3Prefix:        pulumi.String("string"),
			},
		},
	},
	Description: pulumi.String("string"),
	Name:        pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var distributionConfigurationResource = new DistributionConfiguration("distributionConfigurationResource", DistributionConfigurationArgs.builder()
    .distributions(DistributionConfigurationDistributionArgs.builder()
        .region("string")
        .amiDistributionConfiguration(DistributionConfigurationDistributionAmiDistributionConfigurationArgs.builder()
            .amiTags(Map.of("string", "string"))
            .description("string")
            .kmsKeyId("string")
            .launchPermission(DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs.builder()
                .organizationArns("string")
                .organizationalUnitArns("string")
                .userGroups("string")
                .userIds("string")
                .build())
            .name("string")
            .targetAccountIds("string")
            .build())
        .containerDistributionConfiguration(DistributionConfigurationDistributionContainerDistributionConfigurationArgs.builder()
            .targetRepository(DistributionConfigurationDistributionContainerDistributionConfigurationTargetRepositoryArgs.builder()
                .repositoryName("string")
                .service("string")
                .build())
            .containerTags("string")
            .description("string")
            .build())
        .fastLaunchConfigurations(DistributionConfigurationDistributionFastLaunchConfigurationArgs.builder()
            .accountId("string")
            .enabled(false)
            .launchTemplate(DistributionConfigurationDistributionFastLaunchConfigurationLaunchTemplateArgs.builder()
                .launchTemplateId("string")
                .launchTemplateName("string")
                .launchTemplateVersion("string")
                .build())
            .maxParallelLaunches(0)
            .snapshotConfiguration(DistributionConfigurationDistributionFastLaunchConfigurationSnapshotConfigurationArgs.builder()
                .targetResourceCount(0)
                .build())
            .build())
        .launchTemplateConfigurations(DistributionConfigurationDistributionLaunchTemplateConfigurationArgs.builder()
            .launchTemplateId("string")
            .accountId("string")
            .default_(false)
            .build())
        .licenseConfigurationArns("string")
        .s3ExportConfiguration(DistributionConfigurationDistributionS3ExportConfigurationArgs.builder()
            .diskImageFormat("string")
            .roleName("string")
            .s3Bucket("string")
            .s3Prefix("string")
            .build())
        .build())
    .description("string")
    .name("string")
    .tags(Map.of("string", "string"))
    .build());
distribution_configuration_resource = aws.imagebuilder.DistributionConfiguration("distributionConfigurationResource",
    distributions=[{
        "region": "string",
        "ami_distribution_configuration": {
            "ami_tags": {
                "string": "string",
            },
            "description": "string",
            "kms_key_id": "string",
            "launch_permission": {
                "organization_arns": ["string"],
                "organizational_unit_arns": ["string"],
                "user_groups": ["string"],
                "user_ids": ["string"],
            },
            "name": "string",
            "target_account_ids": ["string"],
        },
        "container_distribution_configuration": {
            "target_repository": {
                "repository_name": "string",
                "service": "string",
            },
            "container_tags": ["string"],
            "description": "string",
        },
        "fast_launch_configurations": [{
            "account_id": "string",
            "enabled": False,
            "launch_template": {
                "launch_template_id": "string",
                "launch_template_name": "string",
                "launch_template_version": "string",
            },
            "max_parallel_launches": 0,
            "snapshot_configuration": {
                "target_resource_count": 0,
            },
        }],
        "launch_template_configurations": [{
            "launch_template_id": "string",
            "account_id": "string",
            "default": False,
        }],
        "license_configuration_arns": ["string"],
        "s3_export_configuration": {
            "disk_image_format": "string",
            "role_name": "string",
            "s3_bucket": "string",
            "s3_prefix": "string",
        },
    }],
    description="string",
    name="string",
    tags={
        "string": "string",
    })
const distributionConfigurationResource = new aws.imagebuilder.DistributionConfiguration("distributionConfigurationResource", {
    distributions: [{
        region: "string",
        amiDistributionConfiguration: {
            amiTags: {
                string: "string",
            },
            description: "string",
            kmsKeyId: "string",
            launchPermission: {
                organizationArns: ["string"],
                organizationalUnitArns: ["string"],
                userGroups: ["string"],
                userIds: ["string"],
            },
            name: "string",
            targetAccountIds: ["string"],
        },
        containerDistributionConfiguration: {
            targetRepository: {
                repositoryName: "string",
                service: "string",
            },
            containerTags: ["string"],
            description: "string",
        },
        fastLaunchConfigurations: [{
            accountId: "string",
            enabled: false,
            launchTemplate: {
                launchTemplateId: "string",
                launchTemplateName: "string",
                launchTemplateVersion: "string",
            },
            maxParallelLaunches: 0,
            snapshotConfiguration: {
                targetResourceCount: 0,
            },
        }],
        launchTemplateConfigurations: [{
            launchTemplateId: "string",
            accountId: "string",
            "default": false,
        }],
        licenseConfigurationArns: ["string"],
        s3ExportConfiguration: {
            diskImageFormat: "string",
            roleName: "string",
            s3Bucket: "string",
            s3Prefix: "string",
        },
    }],
    description: "string",
    name: "string",
    tags: {
        string: "string",
    },
});
type: aws:imagebuilder:DistributionConfiguration
properties:
    description: string
    distributions:
        - amiDistributionConfiguration:
            amiTags:
                string: string
            description: string
            kmsKeyId: string
            launchPermission:
                organizationArns:
                    - string
                organizationalUnitArns:
                    - string
                userGroups:
                    - string
                userIds:
                    - string
            name: string
            targetAccountIds:
                - string
          containerDistributionConfiguration:
            containerTags:
                - string
            description: string
            targetRepository:
                repositoryName: string
                service: string
          fastLaunchConfigurations:
            - accountId: string
              enabled: false
              launchTemplate:
                launchTemplateId: string
                launchTemplateName: string
                launchTemplateVersion: string
              maxParallelLaunches: 0
              snapshotConfiguration:
                targetResourceCount: 0
          launchTemplateConfigurations:
            - accountId: string
              default: false
              launchTemplateId: string
          licenseConfigurationArns:
            - string
          region: string
          s3ExportConfiguration:
            diskImageFormat: string
            roleName: string
            s3Bucket: string
            s3Prefix: string
    name: string
    tags:
        string: string
DistributionConfiguration Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DistributionConfiguration resource accepts the following input properties:
- Distributions
List<DistributionConfiguration Distribution> 
- One or more configuration blocks with distribution settings. Detailed below. - The following arguments are optional: 
- Description string
- Description of the distribution configuration.
- Name string
- Name of the distribution configuration.
- Dictionary<string, string>
- Key-value map of resource tags for the distribution configuration. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Distributions
[]DistributionConfiguration Distribution Args 
- One or more configuration blocks with distribution settings. Detailed below. - The following arguments are optional: 
- Description string
- Description of the distribution configuration.
- Name string
- Name of the distribution configuration.
- map[string]string
- Key-value map of resource tags for the distribution configuration. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- distributions
List<DistributionConfiguration Distribution> 
- One or more configuration blocks with distribution settings. Detailed below. - The following arguments are optional: 
- description String
- Description of the distribution configuration.
- name String
- Name of the distribution configuration.
- Map<String,String>
- Key-value map of resource tags for the distribution configuration. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- distributions
DistributionConfiguration Distribution[] 
- One or more configuration blocks with distribution settings. Detailed below. - The following arguments are optional: 
- description string
- Description of the distribution configuration.
- name string
- Name of the distribution configuration.
- {[key: string]: string}
- Key-value map of resource tags for the distribution configuration. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- distributions
Sequence[DistributionConfiguration Distribution Args] 
- One or more configuration blocks with distribution settings. Detailed below. - The following arguments are optional: 
- description str
- Description of the distribution configuration.
- name str
- Name of the distribution configuration.
- Mapping[str, str]
- Key-value map of resource tags for the distribution configuration. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- distributions List<Property Map>
- One or more configuration blocks with distribution settings. Detailed below. - The following arguments are optional: 
- description String
- Description of the distribution configuration.
- name String
- Name of the distribution configuration.
- Map<String>
- Key-value map of resource tags for the distribution configuration. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
Outputs
All input properties are implicitly available as output properties. Additionally, the DistributionConfiguration resource produces the following output properties:
- Arn string
- (Required) Amazon Resource Name (ARN) of the distribution configuration.
- DateCreated string
- Date the distribution configuration was created.
- DateUpdated string
- Date the distribution configuration was updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- Arn string
- (Required) Amazon Resource Name (ARN) of the distribution configuration.
- DateCreated string
- Date the distribution configuration was created.
- DateUpdated string
- Date the distribution configuration was updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn String
- (Required) Amazon Resource Name (ARN) of the distribution configuration.
- dateCreated String
- Date the distribution configuration was created.
- dateUpdated String
- Date the distribution configuration was updated.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn string
- (Required) Amazon Resource Name (ARN) of the distribution configuration.
- dateCreated string
- Date the distribution configuration was created.
- dateUpdated string
- Date the distribution configuration was updated.
- id string
- The provider-assigned unique ID for this managed resource.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn str
- (Required) Amazon Resource Name (ARN) of the distribution configuration.
- date_created str
- Date the distribution configuration was created.
- date_updated str
- Date the distribution configuration was updated.
- id str
- The provider-assigned unique ID for this managed resource.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn String
- (Required) Amazon Resource Name (ARN) of the distribution configuration.
- dateCreated String
- Date the distribution configuration was created.
- dateUpdated String
- Date the distribution configuration was updated.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
Look up Existing DistributionConfiguration Resource
Get an existing DistributionConfiguration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DistributionConfigurationState, opts?: CustomResourceOptions): DistributionConfiguration@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        date_created: Optional[str] = None,
        date_updated: Optional[str] = None,
        description: Optional[str] = None,
        distributions: Optional[Sequence[DistributionConfigurationDistributionArgs]] = None,
        name: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None) -> DistributionConfigurationfunc GetDistributionConfiguration(ctx *Context, name string, id IDInput, state *DistributionConfigurationState, opts ...ResourceOption) (*DistributionConfiguration, error)public static DistributionConfiguration Get(string name, Input<string> id, DistributionConfigurationState? state, CustomResourceOptions? opts = null)public static DistributionConfiguration get(String name, Output<String> id, DistributionConfigurationState state, CustomResourceOptions options)resources:  _:    type: aws:imagebuilder:DistributionConfiguration    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- (Required) Amazon Resource Name (ARN) of the distribution configuration.
- DateCreated string
- Date the distribution configuration was created.
- DateUpdated string
- Date the distribution configuration was updated.
- Description string
- Description of the distribution configuration.
- Distributions
List<DistributionConfiguration Distribution> 
- One or more configuration blocks with distribution settings. Detailed below. - The following arguments are optional: 
- Name string
- Name of the distribution configuration.
- Dictionary<string, string>
- Key-value map of resource tags for the distribution configuration. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- Arn string
- (Required) Amazon Resource Name (ARN) of the distribution configuration.
- DateCreated string
- Date the distribution configuration was created.
- DateUpdated string
- Date the distribution configuration was updated.
- Description string
- Description of the distribution configuration.
- Distributions
[]DistributionConfiguration Distribution Args 
- One or more configuration blocks with distribution settings. Detailed below. - The following arguments are optional: 
- Name string
- Name of the distribution configuration.
- map[string]string
- Key-value map of resource tags for the distribution configuration. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn String
- (Required) Amazon Resource Name (ARN) of the distribution configuration.
- dateCreated String
- Date the distribution configuration was created.
- dateUpdated String
- Date the distribution configuration was updated.
- description String
- Description of the distribution configuration.
- distributions
List<DistributionConfiguration Distribution> 
- One or more configuration blocks with distribution settings. Detailed below. - The following arguments are optional: 
- name String
- Name of the distribution configuration.
- Map<String,String>
- Key-value map of resource tags for the distribution configuration. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn string
- (Required) Amazon Resource Name (ARN) of the distribution configuration.
- dateCreated string
- Date the distribution configuration was created.
- dateUpdated string
- Date the distribution configuration was updated.
- description string
- Description of the distribution configuration.
- distributions
DistributionConfiguration Distribution[] 
- One or more configuration blocks with distribution settings. Detailed below. - The following arguments are optional: 
- name string
- Name of the distribution configuration.
- {[key: string]: string}
- Key-value map of resource tags for the distribution configuration. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn str
- (Required) Amazon Resource Name (ARN) of the distribution configuration.
- date_created str
- Date the distribution configuration was created.
- date_updated str
- Date the distribution configuration was updated.
- description str
- Description of the distribution configuration.
- distributions
Sequence[DistributionConfiguration Distribution Args] 
- One or more configuration blocks with distribution settings. Detailed below. - The following arguments are optional: 
- name str
- Name of the distribution configuration.
- Mapping[str, str]
- Key-value map of resource tags for the distribution configuration. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn String
- (Required) Amazon Resource Name (ARN) of the distribution configuration.
- dateCreated String
- Date the distribution configuration was created.
- dateUpdated String
- Date the distribution configuration was updated.
- description String
- Description of the distribution configuration.
- distributions List<Property Map>
- One or more configuration blocks with distribution settings. Detailed below. - The following arguments are optional: 
- name String
- Name of the distribution configuration.
- Map<String>
- Key-value map of resource tags for the distribution configuration. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
Supporting Types
DistributionConfigurationDistribution, DistributionConfigurationDistributionArgs      
- Region string
- AWS Region for the distribution. - The following arguments are optional: 
- AmiDistribution DistributionConfiguration Configuration Distribution Ami Distribution Configuration 
- Configuration block with Amazon Machine Image (AMI) distribution settings. Detailed below.
- ContainerDistribution DistributionConfiguration Configuration Distribution Container Distribution Configuration 
- Configuration block with container distribution settings. Detailed below.
- FastLaunch List<DistributionConfigurations Configuration Distribution Fast Launch Configuration> 
- Set of Windows faster-launching configurations to use for AMI distribution. Detailed below.
- LaunchTemplate List<DistributionConfigurations Configuration Distribution Launch Template Configuration> 
- Set of launch template configuration settings that apply to image distribution. Detailed below.
- LicenseConfiguration List<string>Arns 
- Set of Amazon Resource Names (ARNs) of License Manager License Configurations.
- S3ExportConfiguration DistributionConfiguration Distribution S3Export Configuration 
- Configuration block with S3 export settings. Detailed below.
- Region string
- AWS Region for the distribution. - The following arguments are optional: 
- AmiDistribution DistributionConfiguration Configuration Distribution Ami Distribution Configuration 
- Configuration block with Amazon Machine Image (AMI) distribution settings. Detailed below.
- ContainerDistribution DistributionConfiguration Configuration Distribution Container Distribution Configuration 
- Configuration block with container distribution settings. Detailed below.
- FastLaunch []DistributionConfigurations Configuration Distribution Fast Launch Configuration 
- Set of Windows faster-launching configurations to use for AMI distribution. Detailed below.
- LaunchTemplate []DistributionConfigurations Configuration Distribution Launch Template Configuration 
- Set of launch template configuration settings that apply to image distribution. Detailed below.
- LicenseConfiguration []stringArns 
- Set of Amazon Resource Names (ARNs) of License Manager License Configurations.
- S3ExportConfiguration DistributionConfiguration Distribution S3Export Configuration 
- Configuration block with S3 export settings. Detailed below.
- region String
- AWS Region for the distribution. - The following arguments are optional: 
- amiDistribution DistributionConfiguration Configuration Distribution Ami Distribution Configuration 
- Configuration block with Amazon Machine Image (AMI) distribution settings. Detailed below.
- containerDistribution DistributionConfiguration Configuration Distribution Container Distribution Configuration 
- Configuration block with container distribution settings. Detailed below.
- fastLaunch List<DistributionConfigurations Configuration Distribution Fast Launch Configuration> 
- Set of Windows faster-launching configurations to use for AMI distribution. Detailed below.
- launchTemplate List<DistributionConfigurations Configuration Distribution Launch Template Configuration> 
- Set of launch template configuration settings that apply to image distribution. Detailed below.
- licenseConfiguration List<String>Arns 
- Set of Amazon Resource Names (ARNs) of License Manager License Configurations.
- s3ExportConfiguration DistributionConfiguration Distribution S3Export Configuration 
- Configuration block with S3 export settings. Detailed below.
- region string
- AWS Region for the distribution. - The following arguments are optional: 
- amiDistribution DistributionConfiguration Configuration Distribution Ami Distribution Configuration 
- Configuration block with Amazon Machine Image (AMI) distribution settings. Detailed below.
- containerDistribution DistributionConfiguration Configuration Distribution Container Distribution Configuration 
- Configuration block with container distribution settings. Detailed below.
- fastLaunch DistributionConfigurations Configuration Distribution Fast Launch Configuration[] 
- Set of Windows faster-launching configurations to use for AMI distribution. Detailed below.
- launchTemplate DistributionConfigurations Configuration Distribution Launch Template Configuration[] 
- Set of launch template configuration settings that apply to image distribution. Detailed below.
- licenseConfiguration string[]Arns 
- Set of Amazon Resource Names (ARNs) of License Manager License Configurations.
- s3ExportConfiguration DistributionConfiguration Distribution S3Export Configuration 
- Configuration block with S3 export settings. Detailed below.
- region str
- AWS Region for the distribution. - The following arguments are optional: 
- ami_distribution_ Distributionconfiguration Configuration Distribution Ami Distribution Configuration 
- Configuration block with Amazon Machine Image (AMI) distribution settings. Detailed below.
- container_distribution_ Distributionconfiguration Configuration Distribution Container Distribution Configuration 
- Configuration block with container distribution settings. Detailed below.
- fast_launch_ Sequence[Distributionconfigurations Configuration Distribution Fast Launch Configuration] 
- Set of Windows faster-launching configurations to use for AMI distribution. Detailed below.
- launch_template_ Sequence[Distributionconfigurations Configuration Distribution Launch Template Configuration] 
- Set of launch template configuration settings that apply to image distribution. Detailed below.
- license_configuration_ Sequence[str]arns 
- Set of Amazon Resource Names (ARNs) of License Manager License Configurations.
- s3_export_ Distributionconfiguration Configuration Distribution S3Export Configuration 
- Configuration block with S3 export settings. Detailed below.
- region String
- AWS Region for the distribution. - The following arguments are optional: 
- amiDistribution Property MapConfiguration 
- Configuration block with Amazon Machine Image (AMI) distribution settings. Detailed below.
- containerDistribution Property MapConfiguration 
- Configuration block with container distribution settings. Detailed below.
- fastLaunch List<Property Map>Configurations 
- Set of Windows faster-launching configurations to use for AMI distribution. Detailed below.
- launchTemplate List<Property Map>Configurations 
- Set of launch template configuration settings that apply to image distribution. Detailed below.
- licenseConfiguration List<String>Arns 
- Set of Amazon Resource Names (ARNs) of License Manager License Configurations.
- s3ExportConfiguration Property Map
- Configuration block with S3 export settings. Detailed below.
DistributionConfigurationDistributionAmiDistributionConfiguration, DistributionConfigurationDistributionAmiDistributionConfigurationArgs            
- Dictionary<string, string>
- Key-value map of tags to apply to the distributed AMI.
- Description string
- Description to apply to the distributed AMI.
- KmsKey stringId 
- Amazon Resource Name (ARN) of the Key Management Service (KMS) Key to encrypt the distributed AMI.
- LaunchPermission DistributionConfiguration Distribution Ami Distribution Configuration Launch Permission 
- Configuration block of EC2 launch permissions to apply to the distributed AMI. Detailed below.
- Name string
- Name to apply to the distributed AMI.
- TargetAccount List<string>Ids 
- Set of AWS Account identifiers to distribute the AMI.
- map[string]string
- Key-value map of tags to apply to the distributed AMI.
- Description string
- Description to apply to the distributed AMI.
- KmsKey stringId 
- Amazon Resource Name (ARN) of the Key Management Service (KMS) Key to encrypt the distributed AMI.
- LaunchPermission DistributionConfiguration Distribution Ami Distribution Configuration Launch Permission 
- Configuration block of EC2 launch permissions to apply to the distributed AMI. Detailed below.
- Name string
- Name to apply to the distributed AMI.
- TargetAccount []stringIds 
- Set of AWS Account identifiers to distribute the AMI.
- Map<String,String>
- Key-value map of tags to apply to the distributed AMI.
- description String
- Description to apply to the distributed AMI.
- kmsKey StringId 
- Amazon Resource Name (ARN) of the Key Management Service (KMS) Key to encrypt the distributed AMI.
- launchPermission DistributionConfiguration Distribution Ami Distribution Configuration Launch Permission 
- Configuration block of EC2 launch permissions to apply to the distributed AMI. Detailed below.
- name String
- Name to apply to the distributed AMI.
- targetAccount List<String>Ids 
- Set of AWS Account identifiers to distribute the AMI.
- {[key: string]: string}
- Key-value map of tags to apply to the distributed AMI.
- description string
- Description to apply to the distributed AMI.
- kmsKey stringId 
- Amazon Resource Name (ARN) of the Key Management Service (KMS) Key to encrypt the distributed AMI.
- launchPermission DistributionConfiguration Distribution Ami Distribution Configuration Launch Permission 
- Configuration block of EC2 launch permissions to apply to the distributed AMI. Detailed below.
- name string
- Name to apply to the distributed AMI.
- targetAccount string[]Ids 
- Set of AWS Account identifiers to distribute the AMI.
- Mapping[str, str]
- Key-value map of tags to apply to the distributed AMI.
- description str
- Description to apply to the distributed AMI.
- kms_key_ strid 
- Amazon Resource Name (ARN) of the Key Management Service (KMS) Key to encrypt the distributed AMI.
- launch_permission DistributionConfiguration Distribution Ami Distribution Configuration Launch Permission 
- Configuration block of EC2 launch permissions to apply to the distributed AMI. Detailed below.
- name str
- Name to apply to the distributed AMI.
- target_account_ Sequence[str]ids 
- Set of AWS Account identifiers to distribute the AMI.
- Map<String>
- Key-value map of tags to apply to the distributed AMI.
- description String
- Description to apply to the distributed AMI.
- kmsKey StringId 
- Amazon Resource Name (ARN) of the Key Management Service (KMS) Key to encrypt the distributed AMI.
- launchPermission Property Map
- Configuration block of EC2 launch permissions to apply to the distributed AMI. Detailed below.
- name String
- Name to apply to the distributed AMI.
- targetAccount List<String>Ids 
- Set of AWS Account identifiers to distribute the AMI.
DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermission, DistributionConfigurationDistributionAmiDistributionConfigurationLaunchPermissionArgs                
- OrganizationArns List<string>
- Set of AWS Organization ARNs to assign.
- OrganizationalUnit List<string>Arns 
- Set of AWS Organizational Unit ARNs to assign.
- UserGroups List<string>
- Set of EC2 launch permission user groups to assign. Use allto distribute a public AMI.
- UserIds List<string>
- Set of AWS Account identifiers to assign.
- OrganizationArns []string
- Set of AWS Organization ARNs to assign.
- OrganizationalUnit []stringArns 
- Set of AWS Organizational Unit ARNs to assign.
- UserGroups []string
- Set of EC2 launch permission user groups to assign. Use allto distribute a public AMI.
- UserIds []string
- Set of AWS Account identifiers to assign.
- organizationArns List<String>
- Set of AWS Organization ARNs to assign.
- organizationalUnit List<String>Arns 
- Set of AWS Organizational Unit ARNs to assign.
- userGroups List<String>
- Set of EC2 launch permission user groups to assign. Use allto distribute a public AMI.
- userIds List<String>
- Set of AWS Account identifiers to assign.
- organizationArns string[]
- Set of AWS Organization ARNs to assign.
- organizationalUnit string[]Arns 
- Set of AWS Organizational Unit ARNs to assign.
- userGroups string[]
- Set of EC2 launch permission user groups to assign. Use allto distribute a public AMI.
- userIds string[]
- Set of AWS Account identifiers to assign.
- organization_arns Sequence[str]
- Set of AWS Organization ARNs to assign.
- organizational_unit_ Sequence[str]arns 
- Set of AWS Organizational Unit ARNs to assign.
- user_groups Sequence[str]
- Set of EC2 launch permission user groups to assign. Use allto distribute a public AMI.
- user_ids Sequence[str]
- Set of AWS Account identifiers to assign.
- organizationArns List<String>
- Set of AWS Organization ARNs to assign.
- organizationalUnit List<String>Arns 
- Set of AWS Organizational Unit ARNs to assign.
- userGroups List<String>
- Set of EC2 launch permission user groups to assign. Use allto distribute a public AMI.
- userIds List<String>
- Set of AWS Account identifiers to assign.
DistributionConfigurationDistributionContainerDistributionConfiguration, DistributionConfigurationDistributionContainerDistributionConfigurationArgs            
- TargetRepository DistributionConfiguration Distribution Container Distribution Configuration Target Repository 
- Configuration block with the destination repository for the container distribution configuration.
- List<string>
- Set of tags that are attached to the container distribution configuration.
- Description string
- Description of the container distribution configuration.
- TargetRepository DistributionConfiguration Distribution Container Distribution Configuration Target Repository 
- Configuration block with the destination repository for the container distribution configuration.
- []string
- Set of tags that are attached to the container distribution configuration.
- Description string
- Description of the container distribution configuration.
- targetRepository DistributionConfiguration Distribution Container Distribution Configuration Target Repository 
- Configuration block with the destination repository for the container distribution configuration.
- List<String>
- Set of tags that are attached to the container distribution configuration.
- description String
- Description of the container distribution configuration.
- targetRepository DistributionConfiguration Distribution Container Distribution Configuration Target Repository 
- Configuration block with the destination repository for the container distribution configuration.
- string[]
- Set of tags that are attached to the container distribution configuration.
- description string
- Description of the container distribution configuration.
- target_repository DistributionConfiguration Distribution Container Distribution Configuration Target Repository 
- Configuration block with the destination repository for the container distribution configuration.
- Sequence[str]
- Set of tags that are attached to the container distribution configuration.
- description str
- Description of the container distribution configuration.
- targetRepository Property Map
- Configuration block with the destination repository for the container distribution configuration.
- List<String>
- Set of tags that are attached to the container distribution configuration.
- description String
- Description of the container distribution configuration.
DistributionConfigurationDistributionContainerDistributionConfigurationTargetRepository, DistributionConfigurationDistributionContainerDistributionConfigurationTargetRepositoryArgs                
- RepositoryName string
- The name of the container repository where the output container image is stored. This name is prefixed by the repository location.
- Service string
- The service in which this image is registered. Valid values: ECR.
- RepositoryName string
- The name of the container repository where the output container image is stored. This name is prefixed by the repository location.
- Service string
- The service in which this image is registered. Valid values: ECR.
- repositoryName String
- The name of the container repository where the output container image is stored. This name is prefixed by the repository location.
- service String
- The service in which this image is registered. Valid values: ECR.
- repositoryName string
- The name of the container repository where the output container image is stored. This name is prefixed by the repository location.
- service string
- The service in which this image is registered. Valid values: ECR.
- repository_name str
- The name of the container repository where the output container image is stored. This name is prefixed by the repository location.
- service str
- The service in which this image is registered. Valid values: ECR.
- repositoryName String
- The name of the container repository where the output container image is stored. This name is prefixed by the repository location.
- service String
- The service in which this image is registered. Valid values: ECR.
DistributionConfigurationDistributionFastLaunchConfiguration, DistributionConfigurationDistributionFastLaunchConfigurationArgs            
- AccountId string
- The owner account ID for the fast-launch enabled Windows AMI.
- Enabled bool
- A Boolean that represents the current state of faster launching for the Windows AMI. Set to trueto start using Windows faster launching, orfalseto stop using it.
- LaunchTemplate DistributionConfiguration Distribution Fast Launch Configuration Launch Template 
- Configuration block for the launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create pre-provisioned snapshots. Detailed below.
- MaxParallel intLaunches 
- The maximum number of parallel instances that are launched for creating resources.
- SnapshotConfiguration DistributionConfiguration Distribution Fast Launch Configuration Snapshot Configuration 
- Configuration block for managing the number of snapshots that are created from pre-provisioned instances for the Windows AMI when faster launching is enabled. Detailed below.
- AccountId string
- The owner account ID for the fast-launch enabled Windows AMI.
- Enabled bool
- A Boolean that represents the current state of faster launching for the Windows AMI. Set to trueto start using Windows faster launching, orfalseto stop using it.
- LaunchTemplate DistributionConfiguration Distribution Fast Launch Configuration Launch Template 
- Configuration block for the launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create pre-provisioned snapshots. Detailed below.
- MaxParallel intLaunches 
- The maximum number of parallel instances that are launched for creating resources.
- SnapshotConfiguration DistributionConfiguration Distribution Fast Launch Configuration Snapshot Configuration 
- Configuration block for managing the number of snapshots that are created from pre-provisioned instances for the Windows AMI when faster launching is enabled. Detailed below.
- accountId String
- The owner account ID for the fast-launch enabled Windows AMI.
- enabled Boolean
- A Boolean that represents the current state of faster launching for the Windows AMI. Set to trueto start using Windows faster launching, orfalseto stop using it.
- launchTemplate DistributionConfiguration Distribution Fast Launch Configuration Launch Template 
- Configuration block for the launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create pre-provisioned snapshots. Detailed below.
- maxParallel IntegerLaunches 
- The maximum number of parallel instances that are launched for creating resources.
- snapshotConfiguration DistributionConfiguration Distribution Fast Launch Configuration Snapshot Configuration 
- Configuration block for managing the number of snapshots that are created from pre-provisioned instances for the Windows AMI when faster launching is enabled. Detailed below.
- accountId string
- The owner account ID for the fast-launch enabled Windows AMI.
- enabled boolean
- A Boolean that represents the current state of faster launching for the Windows AMI. Set to trueto start using Windows faster launching, orfalseto stop using it.
- launchTemplate DistributionConfiguration Distribution Fast Launch Configuration Launch Template 
- Configuration block for the launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create pre-provisioned snapshots. Detailed below.
- maxParallel numberLaunches 
- The maximum number of parallel instances that are launched for creating resources.
- snapshotConfiguration DistributionConfiguration Distribution Fast Launch Configuration Snapshot Configuration 
- Configuration block for managing the number of snapshots that are created from pre-provisioned instances for the Windows AMI when faster launching is enabled. Detailed below.
- account_id str
- The owner account ID for the fast-launch enabled Windows AMI.
- enabled bool
- A Boolean that represents the current state of faster launching for the Windows AMI. Set to trueto start using Windows faster launching, orfalseto stop using it.
- launch_template DistributionConfiguration Distribution Fast Launch Configuration Launch Template 
- Configuration block for the launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create pre-provisioned snapshots. Detailed below.
- max_parallel_ intlaunches 
- The maximum number of parallel instances that are launched for creating resources.
- snapshot_configuration DistributionConfiguration Distribution Fast Launch Configuration Snapshot Configuration 
- Configuration block for managing the number of snapshots that are created from pre-provisioned instances for the Windows AMI when faster launching is enabled. Detailed below.
- accountId String
- The owner account ID for the fast-launch enabled Windows AMI.
- enabled Boolean
- A Boolean that represents the current state of faster launching for the Windows AMI. Set to trueto start using Windows faster launching, orfalseto stop using it.
- launchTemplate Property Map
- Configuration block for the launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create pre-provisioned snapshots. Detailed below.
- maxParallel NumberLaunches 
- The maximum number of parallel instances that are launched for creating resources.
- snapshotConfiguration Property Map
- Configuration block for managing the number of snapshots that are created from pre-provisioned instances for the Windows AMI when faster launching is enabled. Detailed below.
DistributionConfigurationDistributionFastLaunchConfigurationLaunchTemplate, DistributionConfigurationDistributionFastLaunchConfigurationLaunchTemplateArgs                
- LaunchTemplate stringId 
- The ID of the launch template to use for faster launching for a Windows AMI.
- LaunchTemplate stringName 
- The name of the launch template to use for faster launching for a Windows AMI.
- LaunchTemplate stringVersion 
- The version of the launch template to use for faster launching for a Windows AMI.
- LaunchTemplate stringId 
- The ID of the launch template to use for faster launching for a Windows AMI.
- LaunchTemplate stringName 
- The name of the launch template to use for faster launching for a Windows AMI.
- LaunchTemplate stringVersion 
- The version of the launch template to use for faster launching for a Windows AMI.
- launchTemplate StringId 
- The ID of the launch template to use for faster launching for a Windows AMI.
- launchTemplate StringName 
- The name of the launch template to use for faster launching for a Windows AMI.
- launchTemplate StringVersion 
- The version of the launch template to use for faster launching for a Windows AMI.
- launchTemplate stringId 
- The ID of the launch template to use for faster launching for a Windows AMI.
- launchTemplate stringName 
- The name of the launch template to use for faster launching for a Windows AMI.
- launchTemplate stringVersion 
- The version of the launch template to use for faster launching for a Windows AMI.
- launch_template_ strid 
- The ID of the launch template to use for faster launching for a Windows AMI.
- launch_template_ strname 
- The name of the launch template to use for faster launching for a Windows AMI.
- launch_template_ strversion 
- The version of the launch template to use for faster launching for a Windows AMI.
- launchTemplate StringId 
- The ID of the launch template to use for faster launching for a Windows AMI.
- launchTemplate StringName 
- The name of the launch template to use for faster launching for a Windows AMI.
- launchTemplate StringVersion 
- The version of the launch template to use for faster launching for a Windows AMI.
DistributionConfigurationDistributionFastLaunchConfigurationSnapshotConfiguration, DistributionConfigurationDistributionFastLaunchConfigurationSnapshotConfigurationArgs                
- TargetResource intCount 
- The number of pre-provisioned snapshots to keep on hand for a fast-launch enabled Windows AMI.
- TargetResource intCount 
- The number of pre-provisioned snapshots to keep on hand for a fast-launch enabled Windows AMI.
- targetResource IntegerCount 
- The number of pre-provisioned snapshots to keep on hand for a fast-launch enabled Windows AMI.
- targetResource numberCount 
- The number of pre-provisioned snapshots to keep on hand for a fast-launch enabled Windows AMI.
- target_resource_ intcount 
- The number of pre-provisioned snapshots to keep on hand for a fast-launch enabled Windows AMI.
- targetResource NumberCount 
- The number of pre-provisioned snapshots to keep on hand for a fast-launch enabled Windows AMI.
DistributionConfigurationDistributionLaunchTemplateConfiguration, DistributionConfigurationDistributionLaunchTemplateConfigurationArgs            
- LaunchTemplate stringId 
- The ID of the Amazon EC2 launch template to use.
- AccountId string
- The account ID that this configuration applies to.
- Default bool
- Indicates whether to set the specified Amazon EC2 launch template as the default launch template. Defaults to true.
- LaunchTemplate stringId 
- The ID of the Amazon EC2 launch template to use.
- AccountId string
- The account ID that this configuration applies to.
- Default bool
- Indicates whether to set the specified Amazon EC2 launch template as the default launch template. Defaults to true.
- launchTemplate StringId 
- The ID of the Amazon EC2 launch template to use.
- accountId String
- The account ID that this configuration applies to.
- default_ Boolean
- Indicates whether to set the specified Amazon EC2 launch template as the default launch template. Defaults to true.
- launchTemplate stringId 
- The ID of the Amazon EC2 launch template to use.
- accountId string
- The account ID that this configuration applies to.
- default boolean
- Indicates whether to set the specified Amazon EC2 launch template as the default launch template. Defaults to true.
- launch_template_ strid 
- The ID of the Amazon EC2 launch template to use.
- account_id str
- The account ID that this configuration applies to.
- default bool
- Indicates whether to set the specified Amazon EC2 launch template as the default launch template. Defaults to true.
- launchTemplate StringId 
- The ID of the Amazon EC2 launch template to use.
- accountId String
- The account ID that this configuration applies to.
- default Boolean
- Indicates whether to set the specified Amazon EC2 launch template as the default launch template. Defaults to true.
DistributionConfigurationDistributionS3ExportConfiguration, DistributionConfigurationDistributionS3ExportConfigurationArgs          
- DiskImage stringFormat 
- The disk image format of the exported image (RAW,VHD, orVMDK)
- RoleName string
- The name of the IAM role to use for exporting.
- S3Bucket string
- The name of the S3 bucket to store the exported image in. The bucket needs to exist before the export configuration is created.
- S3Prefix string
- The prefix for the exported image.
- DiskImage stringFormat 
- The disk image format of the exported image (RAW,VHD, orVMDK)
- RoleName string
- The name of the IAM role to use for exporting.
- S3Bucket string
- The name of the S3 bucket to store the exported image in. The bucket needs to exist before the export configuration is created.
- S3Prefix string
- The prefix for the exported image.
- diskImage StringFormat 
- The disk image format of the exported image (RAW,VHD, orVMDK)
- roleName String
- The name of the IAM role to use for exporting.
- s3Bucket String
- The name of the S3 bucket to store the exported image in. The bucket needs to exist before the export configuration is created.
- s3Prefix String
- The prefix for the exported image.
- diskImage stringFormat 
- The disk image format of the exported image (RAW,VHD, orVMDK)
- roleName string
- The name of the IAM role to use for exporting.
- s3Bucket string
- The name of the S3 bucket to store the exported image in. The bucket needs to exist before the export configuration is created.
- s3Prefix string
- The prefix for the exported image.
- disk_image_ strformat 
- The disk image format of the exported image (RAW,VHD, orVMDK)
- role_name str
- The name of the IAM role to use for exporting.
- s3_bucket str
- The name of the S3 bucket to store the exported image in. The bucket needs to exist before the export configuration is created.
- s3_prefix str
- The prefix for the exported image.
- diskImage StringFormat 
- The disk image format of the exported image (RAW,VHD, orVMDK)
- roleName String
- The name of the IAM role to use for exporting.
- s3Bucket String
- The name of the S3 bucket to store the exported image in. The bucket needs to exist before the export configuration is created.
- s3Prefix String
- The prefix for the exported image.
Import
Using pulumi import, import aws_imagebuilder_distribution_configurations resources using the Amazon Resource Name (ARN). For example:
$ pulumi import aws:imagebuilder/distributionConfiguration:DistributionConfiguration example arn:aws:imagebuilder:us-east-1:123456789012:distribution-configuration/example
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.