Class AmiCopyArgs
Inherited Members
Namespace: Pulumi.Aws.Ec2
Assembly: Pulumi.Aws.dll
Syntax
public sealed class AmiCopyArgs : ResourceArgs
Constructors
View SourceAmiCopyArgs()
Declaration
public AmiCopyArgs()
Properties
View SourceDescription
A longer, human-readable description for the AMI.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
EbsBlockDevices
Nested block describing an EBS block device that should be attached to created instances. The structure of this block is described below.
Declaration
public InputList<AmiCopyEbsBlockDeviceArgs> EbsBlockDevices { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<AmiCopyEbsBlockDeviceArgs> |
Encrypted
Boolean controlling whether the created EBS volumes will be encrypted. Can't be used with snapshot_id.
Declaration
public Input<bool> Encrypted { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
EphemeralBlockDevices
Nested block describing an ephemeral block device that should be attached to created instances. The structure of this block is described below.
Declaration
public InputList<AmiCopyEphemeralBlockDeviceArgs> EphemeralBlockDevices { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<AmiCopyEphemeralBlockDeviceArgs> |
KmsKeyId
The full ARN of the AWS Key Management Service (AWS KMS) CMK to use when encrypting the snapshots of an image during a copy operation. This parameter is only required if you want to use a non-default CMK; if this parameter is not specified, the default CMK for EBS is used
Declaration
public Input<string> KmsKeyId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
A region-unique name for the AMI.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SourceAmiId
The id of the AMI to copy. This id must be valid in the region
given by source_ami_region.
Declaration
public Input<string> SourceAmiId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SourceAmiRegion
The region from which the AMI will be copied. This may be the same as the AWS provider region in order to create a copy within the same region.
Declaration
public Input<string> SourceAmiRegion { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Tags
A map of tags to assign to the resource.
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |