Class AmiFromInstanceArgs
Inherited Members
Namespace: Pulumi.Aws.Ec2
Assembly: Pulumi.Aws.dll
Syntax
public sealed class AmiFromInstanceArgs : ResourceArgs
Constructors
View SourceAmiFromInstanceArgs()
Declaration
public AmiFromInstanceArgs()
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<AmiFromInstanceEbsBlockDeviceArgs> EbsBlockDevices { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<AmiFromInstanceEbsBlockDeviceArgs> |
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<AmiFromInstanceEphemeralBlockDeviceArgs> EphemeralBlockDevices { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<AmiFromInstanceEphemeralBlockDeviceArgs> |
Name
A region-unique name for the AMI.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SnapshotWithoutReboot
Boolean that overrides the behavior of stopping the instance before snapshotting. This is risky since it may cause a snapshot of an inconsistent filesystem state, but can be used to avoid downtime if the user otherwise guarantees that no filesystem writes will be underway at the time of snapshot.
Declaration
public Input<bool> SnapshotWithoutReboot { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
SourceInstanceId
The id of the instance to use as the basis of the AMI.
Declaration
public Input<string> SourceInstanceId { 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> |