aws.ebs.SnapshotImport
Explore with Pulumi AI
Imports a disk image from S3 as a Snapshot.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.ebs.SnapshotImport("example", {
    diskContainer: {
        format: "VHD",
        userBucket: {
            s3Bucket: "disk-images",
            s3Key: "source.vhd",
        },
    },
    roleName: "disk-image-import",
    tags: {
        Name: "HelloWorld",
    },
});
import pulumi
import pulumi_aws as aws
example = aws.ebs.SnapshotImport("example",
    disk_container={
        "format": "VHD",
        "user_bucket": {
            "s3_bucket": "disk-images",
            "s3_key": "source.vhd",
        },
    },
    role_name="disk-image-import",
    tags={
        "Name": "HelloWorld",
    })
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ebs"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ebs.NewSnapshotImport(ctx, "example", &ebs.SnapshotImportArgs{
			DiskContainer: &ebs.SnapshotImportDiskContainerArgs{
				Format: pulumi.String("VHD"),
				UserBucket: &ebs.SnapshotImportDiskContainerUserBucketArgs{
					S3Bucket: pulumi.String("disk-images"),
					S3Key:    pulumi.String("source.vhd"),
				},
			},
			RoleName: pulumi.String("disk-image-import"),
			Tags: pulumi.StringMap{
				"Name": pulumi.String("HelloWorld"),
			},
		})
		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.Ebs.SnapshotImport("example", new()
    {
        DiskContainer = new Aws.Ebs.Inputs.SnapshotImportDiskContainerArgs
        {
            Format = "VHD",
            UserBucket = new Aws.Ebs.Inputs.SnapshotImportDiskContainerUserBucketArgs
            {
                S3Bucket = "disk-images",
                S3Key = "source.vhd",
            },
        },
        RoleName = "disk-image-import",
        Tags = 
        {
            { "Name", "HelloWorld" },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ebs.SnapshotImport;
import com.pulumi.aws.ebs.SnapshotImportArgs;
import com.pulumi.aws.ebs.inputs.SnapshotImportDiskContainerArgs;
import com.pulumi.aws.ebs.inputs.SnapshotImportDiskContainerUserBucketArgs;
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 SnapshotImport("example", SnapshotImportArgs.builder()
            .diskContainer(SnapshotImportDiskContainerArgs.builder()
                .format("VHD")
                .userBucket(SnapshotImportDiskContainerUserBucketArgs.builder()
                    .s3Bucket("disk-images")
                    .s3Key("source.vhd")
                    .build())
                .build())
            .roleName("disk-image-import")
            .tags(Map.of("Name", "HelloWorld"))
            .build());
    }
}
resources:
  example:
    type: aws:ebs:SnapshotImport
    properties:
      diskContainer:
        format: VHD
        userBucket:
          s3Bucket: disk-images
          s3Key: source.vhd
      roleName: disk-image-import
      tags:
        Name: HelloWorld
Create SnapshotImport Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SnapshotImport(name: string, args: SnapshotImportArgs, opts?: CustomResourceOptions);@overload
def SnapshotImport(resource_name: str,
                   args: SnapshotImportArgs,
                   opts: Optional[ResourceOptions] = None)
@overload
def SnapshotImport(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   disk_container: Optional[SnapshotImportDiskContainerArgs] = None,
                   client_data: Optional[SnapshotImportClientDataArgs] = None,
                   description: Optional[str] = None,
                   encrypted: Optional[bool] = None,
                   kms_key_id: Optional[str] = None,
                   permanent_restore: Optional[bool] = None,
                   role_name: Optional[str] = None,
                   storage_tier: Optional[str] = None,
                   tags: Optional[Mapping[str, str]] = None,
                   temporary_restore_days: Optional[int] = None)func NewSnapshotImport(ctx *Context, name string, args SnapshotImportArgs, opts ...ResourceOption) (*SnapshotImport, error)public SnapshotImport(string name, SnapshotImportArgs args, CustomResourceOptions? opts = null)
public SnapshotImport(String name, SnapshotImportArgs args)
public SnapshotImport(String name, SnapshotImportArgs args, CustomResourceOptions options)
type: aws:ebs:SnapshotImport
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 SnapshotImportArgs
- 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 SnapshotImportArgs
- 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 SnapshotImportArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SnapshotImportArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SnapshotImportArgs
- 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 snapshotImportResource = new Aws.Ebs.SnapshotImport("snapshotImportResource", new()
{
    DiskContainer = new Aws.Ebs.Inputs.SnapshotImportDiskContainerArgs
    {
        Format = "string",
        Description = "string",
        Url = "string",
        UserBucket = new Aws.Ebs.Inputs.SnapshotImportDiskContainerUserBucketArgs
        {
            S3Bucket = "string",
            S3Key = "string",
        },
    },
    ClientData = new Aws.Ebs.Inputs.SnapshotImportClientDataArgs
    {
        Comment = "string",
        UploadEnd = "string",
        UploadSize = 0,
        UploadStart = "string",
    },
    Description = "string",
    Encrypted = false,
    KmsKeyId = "string",
    PermanentRestore = false,
    RoleName = "string",
    StorageTier = "string",
    Tags = 
    {
        { "string", "string" },
    },
    TemporaryRestoreDays = 0,
});
example, err := ebs.NewSnapshotImport(ctx, "snapshotImportResource", &ebs.SnapshotImportArgs{
	DiskContainer: &ebs.SnapshotImportDiskContainerArgs{
		Format:      pulumi.String("string"),
		Description: pulumi.String("string"),
		Url:         pulumi.String("string"),
		UserBucket: &ebs.SnapshotImportDiskContainerUserBucketArgs{
			S3Bucket: pulumi.String("string"),
			S3Key:    pulumi.String("string"),
		},
	},
	ClientData: &ebs.SnapshotImportClientDataArgs{
		Comment:     pulumi.String("string"),
		UploadEnd:   pulumi.String("string"),
		UploadSize:  pulumi.Float64(0),
		UploadStart: pulumi.String("string"),
	},
	Description:      pulumi.String("string"),
	Encrypted:        pulumi.Bool(false),
	KmsKeyId:         pulumi.String("string"),
	PermanentRestore: pulumi.Bool(false),
	RoleName:         pulumi.String("string"),
	StorageTier:      pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	TemporaryRestoreDays: pulumi.Int(0),
})
var snapshotImportResource = new SnapshotImport("snapshotImportResource", SnapshotImportArgs.builder()
    .diskContainer(SnapshotImportDiskContainerArgs.builder()
        .format("string")
        .description("string")
        .url("string")
        .userBucket(SnapshotImportDiskContainerUserBucketArgs.builder()
            .s3Bucket("string")
            .s3Key("string")
            .build())
        .build())
    .clientData(SnapshotImportClientDataArgs.builder()
        .comment("string")
        .uploadEnd("string")
        .uploadSize(0)
        .uploadStart("string")
        .build())
    .description("string")
    .encrypted(false)
    .kmsKeyId("string")
    .permanentRestore(false)
    .roleName("string")
    .storageTier("string")
    .tags(Map.of("string", "string"))
    .temporaryRestoreDays(0)
    .build());
snapshot_import_resource = aws.ebs.SnapshotImport("snapshotImportResource",
    disk_container={
        "format": "string",
        "description": "string",
        "url": "string",
        "user_bucket": {
            "s3_bucket": "string",
            "s3_key": "string",
        },
    },
    client_data={
        "comment": "string",
        "upload_end": "string",
        "upload_size": 0,
        "upload_start": "string",
    },
    description="string",
    encrypted=False,
    kms_key_id="string",
    permanent_restore=False,
    role_name="string",
    storage_tier="string",
    tags={
        "string": "string",
    },
    temporary_restore_days=0)
const snapshotImportResource = new aws.ebs.SnapshotImport("snapshotImportResource", {
    diskContainer: {
        format: "string",
        description: "string",
        url: "string",
        userBucket: {
            s3Bucket: "string",
            s3Key: "string",
        },
    },
    clientData: {
        comment: "string",
        uploadEnd: "string",
        uploadSize: 0,
        uploadStart: "string",
    },
    description: "string",
    encrypted: false,
    kmsKeyId: "string",
    permanentRestore: false,
    roleName: "string",
    storageTier: "string",
    tags: {
        string: "string",
    },
    temporaryRestoreDays: 0,
});
type: aws:ebs:SnapshotImport
properties:
    clientData:
        comment: string
        uploadEnd: string
        uploadSize: 0
        uploadStart: string
    description: string
    diskContainer:
        description: string
        format: string
        url: string
        userBucket:
            s3Bucket: string
            s3Key: string
    encrypted: false
    kmsKeyId: string
    permanentRestore: false
    roleName: string
    storageTier: string
    tags:
        string: string
    temporaryRestoreDays: 0
SnapshotImport 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 SnapshotImport resource accepts the following input properties:
- DiskContainer SnapshotImport Disk Container 
- Information about the disk container. Detailed below.
- ClientData SnapshotImport Client Data 
- The client-specific data. Detailed below.
- Description string
- The description string for the import snapshot task.
- Encrypted bool
- Specifies whether the destination snapshot of the imported image should be encrypted. The default KMS key for EBS is used unless you specify a non-default KMS key using KmsKeyId.
- KmsKey stringId 
- An identifier for the symmetric KMS key to use when creating the encrypted snapshot. This parameter is only required if you want to use a non-default KMS key; if this parameter is not specified, the default KMS key for EBS is used. If a KmsKeyId is specified, the Encrypted flag must also be set.
- PermanentRestore bool
- Indicates whether to permanently restore an archived snapshot.
- RoleName string
- The name of the IAM Role the VM Import/Export service will assume. This role needs certain permissions. See https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#vmimport-role. Default: vmimport
- StorageTier string
- The name of the storage tier. Valid values are archiveandstandard. Default value isstandard.
- Dictionary<string, string>
- A map of tags to assign to the snapshot.
- TemporaryRestore intDays 
- Specifies the number of days for which to temporarily restore an archived snapshot. Required for temporary restores only. The snapshot will be automatically re-archived after this period.
- DiskContainer SnapshotImport Disk Container Args 
- Information about the disk container. Detailed below.
- ClientData SnapshotImport Client Data Args 
- The client-specific data. Detailed below.
- Description string
- The description string for the import snapshot task.
- Encrypted bool
- Specifies whether the destination snapshot of the imported image should be encrypted. The default KMS key for EBS is used unless you specify a non-default KMS key using KmsKeyId.
- KmsKey stringId 
- An identifier for the symmetric KMS key to use when creating the encrypted snapshot. This parameter is only required if you want to use a non-default KMS key; if this parameter is not specified, the default KMS key for EBS is used. If a KmsKeyId is specified, the Encrypted flag must also be set.
- PermanentRestore bool
- Indicates whether to permanently restore an archived snapshot.
- RoleName string
- The name of the IAM Role the VM Import/Export service will assume. This role needs certain permissions. See https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#vmimport-role. Default: vmimport
- StorageTier string
- The name of the storage tier. Valid values are archiveandstandard. Default value isstandard.
- map[string]string
- A map of tags to assign to the snapshot.
- TemporaryRestore intDays 
- Specifies the number of days for which to temporarily restore an archived snapshot. Required for temporary restores only. The snapshot will be automatically re-archived after this period.
- diskContainer SnapshotImport Disk Container 
- Information about the disk container. Detailed below.
- clientData SnapshotImport Client Data 
- The client-specific data. Detailed below.
- description String
- The description string for the import snapshot task.
- encrypted Boolean
- Specifies whether the destination snapshot of the imported image should be encrypted. The default KMS key for EBS is used unless you specify a non-default KMS key using KmsKeyId.
- kmsKey StringId 
- An identifier for the symmetric KMS key to use when creating the encrypted snapshot. This parameter is only required if you want to use a non-default KMS key; if this parameter is not specified, the default KMS key for EBS is used. If a KmsKeyId is specified, the Encrypted flag must also be set.
- permanentRestore Boolean
- Indicates whether to permanently restore an archived snapshot.
- roleName String
- The name of the IAM Role the VM Import/Export service will assume. This role needs certain permissions. See https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#vmimport-role. Default: vmimport
- storageTier String
- The name of the storage tier. Valid values are archiveandstandard. Default value isstandard.
- Map<String,String>
- A map of tags to assign to the snapshot.
- temporaryRestore IntegerDays 
- Specifies the number of days for which to temporarily restore an archived snapshot. Required for temporary restores only. The snapshot will be automatically re-archived after this period.
- diskContainer SnapshotImport Disk Container 
- Information about the disk container. Detailed below.
- clientData SnapshotImport Client Data 
- The client-specific data. Detailed below.
- description string
- The description string for the import snapshot task.
- encrypted boolean
- Specifies whether the destination snapshot of the imported image should be encrypted. The default KMS key for EBS is used unless you specify a non-default KMS key using KmsKeyId.
- kmsKey stringId 
- An identifier for the symmetric KMS key to use when creating the encrypted snapshot. This parameter is only required if you want to use a non-default KMS key; if this parameter is not specified, the default KMS key for EBS is used. If a KmsKeyId is specified, the Encrypted flag must also be set.
- permanentRestore boolean
- Indicates whether to permanently restore an archived snapshot.
- roleName string
- The name of the IAM Role the VM Import/Export service will assume. This role needs certain permissions. See https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#vmimport-role. Default: vmimport
- storageTier string
- The name of the storage tier. Valid values are archiveandstandard. Default value isstandard.
- {[key: string]: string}
- A map of tags to assign to the snapshot.
- temporaryRestore numberDays 
- Specifies the number of days for which to temporarily restore an archived snapshot. Required for temporary restores only. The snapshot will be automatically re-archived after this period.
- disk_container SnapshotImport Disk Container Args 
- Information about the disk container. Detailed below.
- client_data SnapshotImport Client Data Args 
- The client-specific data. Detailed below.
- description str
- The description string for the import snapshot task.
- encrypted bool
- Specifies whether the destination snapshot of the imported image should be encrypted. The default KMS key for EBS is used unless you specify a non-default KMS key using KmsKeyId.
- kms_key_ strid 
- An identifier for the symmetric KMS key to use when creating the encrypted snapshot. This parameter is only required if you want to use a non-default KMS key; if this parameter is not specified, the default KMS key for EBS is used. If a KmsKeyId is specified, the Encrypted flag must also be set.
- permanent_restore bool
- Indicates whether to permanently restore an archived snapshot.
- role_name str
- The name of the IAM Role the VM Import/Export service will assume. This role needs certain permissions. See https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#vmimport-role. Default: vmimport
- storage_tier str
- The name of the storage tier. Valid values are archiveandstandard. Default value isstandard.
- Mapping[str, str]
- A map of tags to assign to the snapshot.
- temporary_restore_ intdays 
- Specifies the number of days for which to temporarily restore an archived snapshot. Required for temporary restores only. The snapshot will be automatically re-archived after this period.
- diskContainer Property Map
- Information about the disk container. Detailed below.
- clientData Property Map
- The client-specific data. Detailed below.
- description String
- The description string for the import snapshot task.
- encrypted Boolean
- Specifies whether the destination snapshot of the imported image should be encrypted. The default KMS key for EBS is used unless you specify a non-default KMS key using KmsKeyId.
- kmsKey StringId 
- An identifier for the symmetric KMS key to use when creating the encrypted snapshot. This parameter is only required if you want to use a non-default KMS key; if this parameter is not specified, the default KMS key for EBS is used. If a KmsKeyId is specified, the Encrypted flag must also be set.
- permanentRestore Boolean
- Indicates whether to permanently restore an archived snapshot.
- roleName String
- The name of the IAM Role the VM Import/Export service will assume. This role needs certain permissions. See https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#vmimport-role. Default: vmimport
- storageTier String
- The name of the storage tier. Valid values are archiveandstandard. Default value isstandard.
- Map<String>
- A map of tags to assign to the snapshot.
- temporaryRestore NumberDays 
- Specifies the number of days for which to temporarily restore an archived snapshot. Required for temporary restores only. The snapshot will be automatically re-archived after this period.
Outputs
All input properties are implicitly available as output properties. Additionally, the SnapshotImport resource produces the following output properties:
- Arn string
- Amazon Resource Name (ARN) of the EBS Snapshot.
- DataEncryption stringKey Id 
- The data encryption key identifier for the snapshot.
- Id string
- The provider-assigned unique ID for this managed resource.
- OutpostArn string
- OwnerAlias string
- Value from an Amazon-maintained list (amazon,aws-marketplace,microsoft) of snapshot owners.
- OwnerId string
- The AWS account ID of the EBS snapshot owner.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- VolumeId string
- VolumeSize int
- The size of the drive in GiBs.
- Arn string
- Amazon Resource Name (ARN) of the EBS Snapshot.
- DataEncryption stringKey Id 
- The data encryption key identifier for the snapshot.
- Id string
- The provider-assigned unique ID for this managed resource.
- OutpostArn string
- OwnerAlias string
- Value from an Amazon-maintained list (amazon,aws-marketplace,microsoft) of snapshot owners.
- OwnerId string
- The AWS account ID of the EBS snapshot owner.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- VolumeId string
- VolumeSize int
- The size of the drive in GiBs.
- arn String
- Amazon Resource Name (ARN) of the EBS Snapshot.
- dataEncryption StringKey Id 
- The data encryption key identifier for the snapshot.
- id String
- The provider-assigned unique ID for this managed resource.
- outpostArn String
- ownerAlias String
- Value from an Amazon-maintained list (amazon,aws-marketplace,microsoft) of snapshot owners.
- ownerId String
- The AWS account ID of the EBS snapshot owner.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- volumeId String
- volumeSize Integer
- The size of the drive in GiBs.
- arn string
- Amazon Resource Name (ARN) of the EBS Snapshot.
- dataEncryption stringKey Id 
- The data encryption key identifier for the snapshot.
- id string
- The provider-assigned unique ID for this managed resource.
- outpostArn string
- ownerAlias string
- Value from an Amazon-maintained list (amazon,aws-marketplace,microsoft) of snapshot owners.
- ownerId string
- The AWS account ID of the EBS snapshot owner.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- volumeId string
- volumeSize number
- The size of the drive in GiBs.
- arn str
- Amazon Resource Name (ARN) of the EBS Snapshot.
- data_encryption_ strkey_ id 
- The data encryption key identifier for the snapshot.
- id str
- The provider-assigned unique ID for this managed resource.
- outpost_arn str
- owner_alias str
- Value from an Amazon-maintained list (amazon,aws-marketplace,microsoft) of snapshot owners.
- owner_id str
- The AWS account ID of the EBS snapshot owner.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- volume_id str
- volume_size int
- The size of the drive in GiBs.
- arn String
- Amazon Resource Name (ARN) of the EBS Snapshot.
- dataEncryption StringKey Id 
- The data encryption key identifier for the snapshot.
- id String
- The provider-assigned unique ID for this managed resource.
- outpostArn String
- ownerAlias String
- Value from an Amazon-maintained list (amazon,aws-marketplace,microsoft) of snapshot owners.
- ownerId String
- The AWS account ID of the EBS snapshot owner.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- volumeId String
- volumeSize Number
- The size of the drive in GiBs.
Look up Existing SnapshotImport Resource
Get an existing SnapshotImport 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?: SnapshotImportState, opts?: CustomResourceOptions): SnapshotImport@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        client_data: Optional[SnapshotImportClientDataArgs] = None,
        data_encryption_key_id: Optional[str] = None,
        description: Optional[str] = None,
        disk_container: Optional[SnapshotImportDiskContainerArgs] = None,
        encrypted: Optional[bool] = None,
        kms_key_id: Optional[str] = None,
        outpost_arn: Optional[str] = None,
        owner_alias: Optional[str] = None,
        owner_id: Optional[str] = None,
        permanent_restore: Optional[bool] = None,
        role_name: Optional[str] = None,
        storage_tier: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None,
        temporary_restore_days: Optional[int] = None,
        volume_id: Optional[str] = None,
        volume_size: Optional[int] = None) -> SnapshotImportfunc GetSnapshotImport(ctx *Context, name string, id IDInput, state *SnapshotImportState, opts ...ResourceOption) (*SnapshotImport, error)public static SnapshotImport Get(string name, Input<string> id, SnapshotImportState? state, CustomResourceOptions? opts = null)public static SnapshotImport get(String name, Output<String> id, SnapshotImportState state, CustomResourceOptions options)resources:  _:    type: aws:ebs:SnapshotImport    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
- Amazon Resource Name (ARN) of the EBS Snapshot.
- ClientData SnapshotImport Client Data 
- The client-specific data. Detailed below.
- DataEncryption stringKey Id 
- The data encryption key identifier for the snapshot.
- Description string
- The description string for the import snapshot task.
- DiskContainer SnapshotImport Disk Container 
- Information about the disk container. Detailed below.
- Encrypted bool
- Specifies whether the destination snapshot of the imported image should be encrypted. The default KMS key for EBS is used unless you specify a non-default KMS key using KmsKeyId.
- KmsKey stringId 
- An identifier for the symmetric KMS key to use when creating the encrypted snapshot. This parameter is only required if you want to use a non-default KMS key; if this parameter is not specified, the default KMS key for EBS is used. If a KmsKeyId is specified, the Encrypted flag must also be set.
- OutpostArn string
- OwnerAlias string
- Value from an Amazon-maintained list (amazon,aws-marketplace,microsoft) of snapshot owners.
- OwnerId string
- The AWS account ID of the EBS snapshot owner.
- PermanentRestore bool
- Indicates whether to permanently restore an archived snapshot.
- RoleName string
- The name of the IAM Role the VM Import/Export service will assume. This role needs certain permissions. See https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#vmimport-role. Default: vmimport
- StorageTier string
- The name of the storage tier. Valid values are archiveandstandard. Default value isstandard.
- Dictionary<string, string>
- A map of tags to assign to the snapshot.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- TemporaryRestore intDays 
- Specifies the number of days for which to temporarily restore an archived snapshot. Required for temporary restores only. The snapshot will be automatically re-archived after this period.
- VolumeId string
- VolumeSize int
- The size of the drive in GiBs.
- Arn string
- Amazon Resource Name (ARN) of the EBS Snapshot.
- ClientData SnapshotImport Client Data Args 
- The client-specific data. Detailed below.
- DataEncryption stringKey Id 
- The data encryption key identifier for the snapshot.
- Description string
- The description string for the import snapshot task.
- DiskContainer SnapshotImport Disk Container Args 
- Information about the disk container. Detailed below.
- Encrypted bool
- Specifies whether the destination snapshot of the imported image should be encrypted. The default KMS key for EBS is used unless you specify a non-default KMS key using KmsKeyId.
- KmsKey stringId 
- An identifier for the symmetric KMS key to use when creating the encrypted snapshot. This parameter is only required if you want to use a non-default KMS key; if this parameter is not specified, the default KMS key for EBS is used. If a KmsKeyId is specified, the Encrypted flag must also be set.
- OutpostArn string
- OwnerAlias string
- Value from an Amazon-maintained list (amazon,aws-marketplace,microsoft) of snapshot owners.
- OwnerId string
- The AWS account ID of the EBS snapshot owner.
- PermanentRestore bool
- Indicates whether to permanently restore an archived snapshot.
- RoleName string
- The name of the IAM Role the VM Import/Export service will assume. This role needs certain permissions. See https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#vmimport-role. Default: vmimport
- StorageTier string
- The name of the storage tier. Valid values are archiveandstandard. Default value isstandard.
- map[string]string
- A map of tags to assign to the snapshot.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- TemporaryRestore intDays 
- Specifies the number of days for which to temporarily restore an archived snapshot. Required for temporary restores only. The snapshot will be automatically re-archived after this period.
- VolumeId string
- VolumeSize int
- The size of the drive in GiBs.
- arn String
- Amazon Resource Name (ARN) of the EBS Snapshot.
- clientData SnapshotImport Client Data 
- The client-specific data. Detailed below.
- dataEncryption StringKey Id 
- The data encryption key identifier for the snapshot.
- description String
- The description string for the import snapshot task.
- diskContainer SnapshotImport Disk Container 
- Information about the disk container. Detailed below.
- encrypted Boolean
- Specifies whether the destination snapshot of the imported image should be encrypted. The default KMS key for EBS is used unless you specify a non-default KMS key using KmsKeyId.
- kmsKey StringId 
- An identifier for the symmetric KMS key to use when creating the encrypted snapshot. This parameter is only required if you want to use a non-default KMS key; if this parameter is not specified, the default KMS key for EBS is used. If a KmsKeyId is specified, the Encrypted flag must also be set.
- outpostArn String
- ownerAlias String
- Value from an Amazon-maintained list (amazon,aws-marketplace,microsoft) of snapshot owners.
- ownerId String
- The AWS account ID of the EBS snapshot owner.
- permanentRestore Boolean
- Indicates whether to permanently restore an archived snapshot.
- roleName String
- The name of the IAM Role the VM Import/Export service will assume. This role needs certain permissions. See https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#vmimport-role. Default: vmimport
- storageTier String
- The name of the storage tier. Valid values are archiveandstandard. Default value isstandard.
- Map<String,String>
- A map of tags to assign to the snapshot.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- temporaryRestore IntegerDays 
- Specifies the number of days for which to temporarily restore an archived snapshot. Required for temporary restores only. The snapshot will be automatically re-archived after this period.
- volumeId String
- volumeSize Integer
- The size of the drive in GiBs.
- arn string
- Amazon Resource Name (ARN) of the EBS Snapshot.
- clientData SnapshotImport Client Data 
- The client-specific data. Detailed below.
- dataEncryption stringKey Id 
- The data encryption key identifier for the snapshot.
- description string
- The description string for the import snapshot task.
- diskContainer SnapshotImport Disk Container 
- Information about the disk container. Detailed below.
- encrypted boolean
- Specifies whether the destination snapshot of the imported image should be encrypted. The default KMS key for EBS is used unless you specify a non-default KMS key using KmsKeyId.
- kmsKey stringId 
- An identifier for the symmetric KMS key to use when creating the encrypted snapshot. This parameter is only required if you want to use a non-default KMS key; if this parameter is not specified, the default KMS key for EBS is used. If a KmsKeyId is specified, the Encrypted flag must also be set.
- outpostArn string
- ownerAlias string
- Value from an Amazon-maintained list (amazon,aws-marketplace,microsoft) of snapshot owners.
- ownerId string
- The AWS account ID of the EBS snapshot owner.
- permanentRestore boolean
- Indicates whether to permanently restore an archived snapshot.
- roleName string
- The name of the IAM Role the VM Import/Export service will assume. This role needs certain permissions. See https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#vmimport-role. Default: vmimport
- storageTier string
- The name of the storage tier. Valid values are archiveandstandard. Default value isstandard.
- {[key: string]: string}
- A map of tags to assign to the snapshot.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- temporaryRestore numberDays 
- Specifies the number of days for which to temporarily restore an archived snapshot. Required for temporary restores only. The snapshot will be automatically re-archived after this period.
- volumeId string
- volumeSize number
- The size of the drive in GiBs.
- arn str
- Amazon Resource Name (ARN) of the EBS Snapshot.
- client_data SnapshotImport Client Data Args 
- The client-specific data. Detailed below.
- data_encryption_ strkey_ id 
- The data encryption key identifier for the snapshot.
- description str
- The description string for the import snapshot task.
- disk_container SnapshotImport Disk Container Args 
- Information about the disk container. Detailed below.
- encrypted bool
- Specifies whether the destination snapshot of the imported image should be encrypted. The default KMS key for EBS is used unless you specify a non-default KMS key using KmsKeyId.
- kms_key_ strid 
- An identifier for the symmetric KMS key to use when creating the encrypted snapshot. This parameter is only required if you want to use a non-default KMS key; if this parameter is not specified, the default KMS key for EBS is used. If a KmsKeyId is specified, the Encrypted flag must also be set.
- outpost_arn str
- owner_alias str
- Value from an Amazon-maintained list (amazon,aws-marketplace,microsoft) of snapshot owners.
- owner_id str
- The AWS account ID of the EBS snapshot owner.
- permanent_restore bool
- Indicates whether to permanently restore an archived snapshot.
- role_name str
- The name of the IAM Role the VM Import/Export service will assume. This role needs certain permissions. See https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#vmimport-role. Default: vmimport
- storage_tier str
- The name of the storage tier. Valid values are archiveandstandard. Default value isstandard.
- Mapping[str, str]
- A map of tags to assign to the snapshot.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- temporary_restore_ intdays 
- Specifies the number of days for which to temporarily restore an archived snapshot. Required for temporary restores only. The snapshot will be automatically re-archived after this period.
- volume_id str
- volume_size int
- The size of the drive in GiBs.
- arn String
- Amazon Resource Name (ARN) of the EBS Snapshot.
- clientData Property Map
- The client-specific data. Detailed below.
- dataEncryption StringKey Id 
- The data encryption key identifier for the snapshot.
- description String
- The description string for the import snapshot task.
- diskContainer Property Map
- Information about the disk container. Detailed below.
- encrypted Boolean
- Specifies whether the destination snapshot of the imported image should be encrypted. The default KMS key for EBS is used unless you specify a non-default KMS key using KmsKeyId.
- kmsKey StringId 
- An identifier for the symmetric KMS key to use when creating the encrypted snapshot. This parameter is only required if you want to use a non-default KMS key; if this parameter is not specified, the default KMS key for EBS is used. If a KmsKeyId is specified, the Encrypted flag must also be set.
- outpostArn String
- ownerAlias String
- Value from an Amazon-maintained list (amazon,aws-marketplace,microsoft) of snapshot owners.
- ownerId String
- The AWS account ID of the EBS snapshot owner.
- permanentRestore Boolean
- Indicates whether to permanently restore an archived snapshot.
- roleName String
- The name of the IAM Role the VM Import/Export service will assume. This role needs certain permissions. See https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#vmimport-role. Default: vmimport
- storageTier String
- The name of the storage tier. Valid values are archiveandstandard. Default value isstandard.
- Map<String>
- A map of tags to assign to the snapshot.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- temporaryRestore NumberDays 
- Specifies the number of days for which to temporarily restore an archived snapshot. Required for temporary restores only. The snapshot will be automatically re-archived after this period.
- volumeId String
- volumeSize Number
- The size of the drive in GiBs.
Supporting Types
SnapshotImportClientData, SnapshotImportClientDataArgs        
- Comment string
- A user-defined comment about the disk upload.
- UploadEnd string
- The time that the disk upload ends.
- UploadSize double
- The size of the uploaded disk image, in GiB.
- UploadStart string
- The time that the disk upload starts.
- Comment string
- A user-defined comment about the disk upload.
- UploadEnd string
- The time that the disk upload ends.
- UploadSize float64
- The size of the uploaded disk image, in GiB.
- UploadStart string
- The time that the disk upload starts.
- comment String
- A user-defined comment about the disk upload.
- uploadEnd String
- The time that the disk upload ends.
- uploadSize Double
- The size of the uploaded disk image, in GiB.
- uploadStart String
- The time that the disk upload starts.
- comment string
- A user-defined comment about the disk upload.
- uploadEnd string
- The time that the disk upload ends.
- uploadSize number
- The size of the uploaded disk image, in GiB.
- uploadStart string
- The time that the disk upload starts.
- comment str
- A user-defined comment about the disk upload.
- upload_end str
- The time that the disk upload ends.
- upload_size float
- The size of the uploaded disk image, in GiB.
- upload_start str
- The time that the disk upload starts.
- comment String
- A user-defined comment about the disk upload.
- uploadEnd String
- The time that the disk upload ends.
- uploadSize Number
- The size of the uploaded disk image, in GiB.
- uploadStart String
- The time that the disk upload starts.
SnapshotImportDiskContainer, SnapshotImportDiskContainerArgs        
- Format string
- The format of the disk image being imported. One of VHDorVMDK.
- Description string
- The description of the disk image being imported.
- Url string
- The URL to the Amazon S3-based disk image being imported. It can either be a https URL (https://..) or an Amazon S3 URL (s3://..). One of urloruser_bucketmust be set.
- UserBucket SnapshotImport Disk Container User Bucket 
- The Amazon S3 bucket for the disk image. One of urloruser_bucketmust be set. Detailed below.
- Format string
- The format of the disk image being imported. One of VHDorVMDK.
- Description string
- The description of the disk image being imported.
- Url string
- The URL to the Amazon S3-based disk image being imported. It can either be a https URL (https://..) or an Amazon S3 URL (s3://..). One of urloruser_bucketmust be set.
- UserBucket SnapshotImport Disk Container User Bucket 
- The Amazon S3 bucket for the disk image. One of urloruser_bucketmust be set. Detailed below.
- format String
- The format of the disk image being imported. One of VHDorVMDK.
- description String
- The description of the disk image being imported.
- url String
- The URL to the Amazon S3-based disk image being imported. It can either be a https URL (https://..) or an Amazon S3 URL (s3://..). One of urloruser_bucketmust be set.
- userBucket SnapshotImport Disk Container User Bucket 
- The Amazon S3 bucket for the disk image. One of urloruser_bucketmust be set. Detailed below.
- format string
- The format of the disk image being imported. One of VHDorVMDK.
- description string
- The description of the disk image being imported.
- url string
- The URL to the Amazon S3-based disk image being imported. It can either be a https URL (https://..) or an Amazon S3 URL (s3://..). One of urloruser_bucketmust be set.
- userBucket SnapshotImport Disk Container User Bucket 
- The Amazon S3 bucket for the disk image. One of urloruser_bucketmust be set. Detailed below.
- format str
- The format of the disk image being imported. One of VHDorVMDK.
- description str
- The description of the disk image being imported.
- url str
- The URL to the Amazon S3-based disk image being imported. It can either be a https URL (https://..) or an Amazon S3 URL (s3://..). One of urloruser_bucketmust be set.
- user_bucket SnapshotImport Disk Container User Bucket 
- The Amazon S3 bucket for the disk image. One of urloruser_bucketmust be set. Detailed below.
- format String
- The format of the disk image being imported. One of VHDorVMDK.
- description String
- The description of the disk image being imported.
- url String
- The URL to the Amazon S3-based disk image being imported. It can either be a https URL (https://..) or an Amazon S3 URL (s3://..). One of urloruser_bucketmust be set.
- userBucket Property Map
- The Amazon S3 bucket for the disk image. One of urloruser_bucketmust be set. Detailed below.
SnapshotImportDiskContainerUserBucket, SnapshotImportDiskContainerUserBucketArgs            
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.