Skip to content

StartEc2InstanceSnapshotExportJobInput

Input to initiate an export job for an AWS native EC2 instance.

Fields

Field Type Description
amiId String ID of the Amazon Machine Image (AMI) to be used for launching the EC2 instance. This field should be specified only when snapshotType is specified as Archived and amiTypeForAwsNativeArchivedSnapshot returns AMI type as USER_SPECIFIED. In other cases, either a pre-existing AMI is picked, or a new AMI is created at runtime, and an AMI ID is not required. The AMI specified here should be present in the target account and region of export. The specified AMI will be used for launching the instance for export, and all its volumes will be replaced.
archivedSnapshotId UUID ID of the archived snapshot to be exported. This field should be specified only when snapshotType is set to Archived. In such cases, the archived snapshot will be used for export. If snapshotType is not Archived, this field is ignored.
dedicatedHostId String Deprecated, use placement instead. ID of the AWS Dedicated Host to be used for export. If specified, the tenancy of the exported EC2 instance will be set to host, else it will be set to default. This field is required for mac instance types.
destinationAwsAccountRubrikId UUID! Rubrik UUID of the AWS account where the instance will be exported.
destinationRegionId AwsNativeRegion! Region of the exported instance.
ec2InstanceType String AWS Native EC2 instance type to be used after export. Some examples are: t2.nano, m5.xlarge. For more information, see https://aws.amazon.com/ec2/instance-types.
exportInstanceInPoweredOffState Boolean Power state of the exported instance.
iamInstanceProfileArn String ARN of the IAM instance profile to be attached to the exported EC2 instance.
instanceName String! Name of the exported instance.
instanceType AwsNativeEc2InstanceType Deprecated, use ec2InstanceType instead. Instance class of EC2 instance.
kmsKeyId String ID of the KMS key to be used for export.
placement AwsInstancePlacementInput Placement configuration for the exported EC2 instance. Use this field to specify tenancy type, dedicated host ID, or host resource group ARN. Mutually exclusive with dedicatedHostId.
securityGroupIds [String!]! List of security group IDs to be used for the exported instance.
shouldCopyTags Boolean! Specifies whether to copy tags to the exported instance.
shouldResurrectSnapshot Boolean Specifies whether to resurrect an archived snapshot.
snapshotId UUID! ID of the snapshot to be exported.
snapshotType SnapshotType Type of snapshot used for export.
sshKeyPairName String Name of the SSH key pair to be used for export.
subnetId String! ID of the subnet to use for the exported instance.