1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. lightsail
  5. InstanceSnapshot

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.30.0 published on Monday, Jun 16, 2025 by Pulumi

aws-native.lightsail.InstanceSnapshot

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.30.0 published on Monday, Jun 16, 2025 by Pulumi

    Resource Type definition for AWS::Lightsail::InstanceSnapshot

    Create InstanceSnapshot Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new InstanceSnapshot(name: string, args: InstanceSnapshotArgs, opts?: CustomResourceOptions);
    @overload
    def InstanceSnapshot(resource_name: str,
                         args: InstanceSnapshotArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def InstanceSnapshot(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         instance_name: Optional[str] = None,
                         instance_snapshot_name: Optional[str] = None,
                         tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewInstanceSnapshot(ctx *Context, name string, args InstanceSnapshotArgs, opts ...ResourceOption) (*InstanceSnapshot, error)
    public InstanceSnapshot(string name, InstanceSnapshotArgs args, CustomResourceOptions? opts = null)
    public InstanceSnapshot(String name, InstanceSnapshotArgs args)
    public InstanceSnapshot(String name, InstanceSnapshotArgs args, CustomResourceOptions options)
    
    type: aws-native:lightsail:InstanceSnapshot
    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 InstanceSnapshotArgs
    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 InstanceSnapshotArgs
    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 InstanceSnapshotArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InstanceSnapshotArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InstanceSnapshotArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    InstanceSnapshot 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 InstanceSnapshot resource accepts the following input properties:

    InstanceName string
    The instance from which the snapshot was created.
    InstanceSnapshotName string
    The name of the snapshot.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    An array of key-value pairs to apply to this resource.
    InstanceName string
    The instance from which the snapshot was created.
    InstanceSnapshotName string
    The name of the snapshot.
    Tags TagArgs
    An array of key-value pairs to apply to this resource.
    instanceName String
    The instance from which the snapshot was created.
    instanceSnapshotName String
    The name of the snapshot.
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    instanceName string
    The instance from which the snapshot was created.
    instanceSnapshotName string
    The name of the snapshot.
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    instance_name str
    The instance from which the snapshot was created.
    instance_snapshot_name str
    The name of the snapshot.
    tags Sequence[TagArgs]
    An array of key-value pairs to apply to this resource.
    instanceName String
    The instance from which the snapshot was created.
    instanceSnapshotName String
    The name of the snapshot.
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the InstanceSnapshot resource produces the following output properties:

    Arn string
    The Amazon Resource Name (ARN) of the snapshot.
    FromInstanceArn string
    The Amazon Resource Name (ARN) of the instance from which the snapshot was created.
    FromInstanceName string
    The instance from which the snapshot was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsFromAutoSnapshot bool
    A Boolean value indicating whether the snapshot was created from an automatic snapshot.
    Location Pulumi.AwsNative.Lightsail.Outputs.InstanceSnapshotLocation
    ResourceType string
    The type of resource (usually InstanceSnapshot).
    SizeInGb int
    The size in GB of the SSD
    State string
    The state the snapshot is in.
    SupportCode string
    Support code to help identify any issues
    Arn string
    The Amazon Resource Name (ARN) of the snapshot.
    FromInstanceArn string
    The Amazon Resource Name (ARN) of the instance from which the snapshot was created.
    FromInstanceName string
    The instance from which the snapshot was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsFromAutoSnapshot bool
    A Boolean value indicating whether the snapshot was created from an automatic snapshot.
    Location InstanceSnapshotLocation
    ResourceType string
    The type of resource (usually InstanceSnapshot).
    SizeInGb int
    The size in GB of the SSD
    State string
    The state the snapshot is in.
    SupportCode string
    Support code to help identify any issues
    arn String
    The Amazon Resource Name (ARN) of the snapshot.
    fromInstanceArn String
    The Amazon Resource Name (ARN) of the instance from which the snapshot was created.
    fromInstanceName String
    The instance from which the snapshot was created.
    id String
    The provider-assigned unique ID for this managed resource.
    isFromAutoSnapshot Boolean
    A Boolean value indicating whether the snapshot was created from an automatic snapshot.
    location InstanceSnapshotLocation
    resourceType String
    The type of resource (usually InstanceSnapshot).
    sizeInGb Integer
    The size in GB of the SSD
    state String
    The state the snapshot is in.
    supportCode String
    Support code to help identify any issues
    arn string
    The Amazon Resource Name (ARN) of the snapshot.
    fromInstanceArn string
    The Amazon Resource Name (ARN) of the instance from which the snapshot was created.
    fromInstanceName string
    The instance from which the snapshot was created.
    id string
    The provider-assigned unique ID for this managed resource.
    isFromAutoSnapshot boolean
    A Boolean value indicating whether the snapshot was created from an automatic snapshot.
    location InstanceSnapshotLocation
    resourceType string
    The type of resource (usually InstanceSnapshot).
    sizeInGb number
    The size in GB of the SSD
    state string
    The state the snapshot is in.
    supportCode string
    Support code to help identify any issues
    arn str
    The Amazon Resource Name (ARN) of the snapshot.
    from_instance_arn str
    The Amazon Resource Name (ARN) of the instance from which the snapshot was created.
    from_instance_name str
    The instance from which the snapshot was created.
    id str
    The provider-assigned unique ID for this managed resource.
    is_from_auto_snapshot bool
    A Boolean value indicating whether the snapshot was created from an automatic snapshot.
    location InstanceSnapshotLocation
    resource_type str
    The type of resource (usually InstanceSnapshot).
    size_in_gb int
    The size in GB of the SSD
    state str
    The state the snapshot is in.
    support_code str
    Support code to help identify any issues
    arn String
    The Amazon Resource Name (ARN) of the snapshot.
    fromInstanceArn String
    The Amazon Resource Name (ARN) of the instance from which the snapshot was created.
    fromInstanceName String
    The instance from which the snapshot was created.
    id String
    The provider-assigned unique ID for this managed resource.
    isFromAutoSnapshot Boolean
    A Boolean value indicating whether the snapshot was created from an automatic snapshot.
    location Property Map
    resourceType String
    The type of resource (usually InstanceSnapshot).
    sizeInGb Number
    The size in GB of the SSD
    state String
    The state the snapshot is in.
    supportCode String
    Support code to help identify any issues

    Supporting Types

    InstanceSnapshotLocation, InstanceSnapshotLocationArgs

    AvailabilityZone string
    The Availability Zone. Follows the format us-east-2a (case-sensitive).
    RegionName string
    The AWS Region name.
    AvailabilityZone string
    The Availability Zone. Follows the format us-east-2a (case-sensitive).
    RegionName string
    The AWS Region name.
    availabilityZone String
    The Availability Zone. Follows the format us-east-2a (case-sensitive).
    regionName String
    The AWS Region name.
    availabilityZone string
    The Availability Zone. Follows the format us-east-2a (case-sensitive).
    regionName string
    The AWS Region name.
    availability_zone str
    The Availability Zone. Follows the format us-east-2a (case-sensitive).
    region_name str
    The AWS Region name.
    availabilityZone String
    The Availability Zone. Follows the format us-east-2a (case-sensitive).
    regionName String
    The AWS Region name.

    Tag, TagArgs

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.30.0 published on Monday, Jun 16, 2025 by Pulumi