import * as core from "@terrascript/core"; export interface StoredIscsiVolumeArgs extends core.ResourceArgs { /** * (Required) The unique identifier for the gateway local disk that is configured as a stored volume. */ diskId: string | core.StringOut; /** * (Required) The Amazon Resource Name (ARN) of the gateway. */ gatewayArn: string | core.StringOut; /** * (Optional) `true` to use Amazon S3 server side encryption with your own AWS KMS key, or `false` to u * se a key managed by Amazon S3. Optional. */ kmsEncrypted?: boolean | core.BooleanOut; /** * (Optional) The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encrypti * on. This value can only be set when `kms_encrypted` is `true`. */ kmsKey?: string | core.StringOut; /** * (Required) The network interface of the gateway on which to expose the iSCSI target. Only IPv4 addre * sses are accepted. */ networkInterfaceId: string | core.StringOut; /** * (Required) Specify this field as `true` if you want to preserve the data on the local disk. Otherwis * e, specifying this field as false creates an empty volume. */ preserveExistingData: boolean | core.BooleanOut; /** * (Optional) The snapshot ID of the snapshot to restore as the new stored volumeE.g., `snap-1122aabb`. */ snapshotId?: string | core.StringOut; /** * (Optional) Key-value mapping of resource tags. If configured with a provider [`default_tags` configu * ration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configu * ration-block) present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; /** * (Required) The name of the iSCSI target used by initiators to connect to the target and as a suffix * for the target ARN. The target name must be unique across all volumes of a gateway. */ targetName: string | core.StringOut; } export declare class StoredIscsiVolume extends core.Resource { /** * Volume Amazon Resource Name (ARN), e.g., `arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw- * 12345678/volume/vol-12345678`. */ arn: string | core.StringOut; /** * Whether mutual CHAP is enabled for the iSCSI target. */ chapEnabled: boolean | core.BooleanOut; /** * (Required) The unique identifier for the gateway local disk that is configured as a stored volume. */ diskId: string | core.StringOut; /** * (Required) The Amazon Resource Name (ARN) of the gateway. */ gatewayArn: string | core.StringOut; /** * Volume Amazon Resource Name (ARN), e.g., `arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw- * 12345678/volume/vol-12345678`. */ id: string | core.StringOut; /** * (Optional) `true` to use Amazon S3 server side encryption with your own AWS KMS key, or `false` to u * se a key managed by Amazon S3. Optional. */ kmsEncrypted?: boolean | core.BooleanOut; /** * (Optional) The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encrypti * on. This value can only be set when `kms_encrypted` is `true`. */ kmsKey?: string | core.StringOut; /** * Logical disk number. */ lunNumber: number | core.NumberOut; /** * (Required) The network interface of the gateway on which to expose the iSCSI target. Only IPv4 addre * sses are accepted. */ networkInterfaceId: string | core.StringOut; /** * The port used to communicate with iSCSI targets. */ networkInterfacePort: number | core.NumberOut; /** * (Required) Specify this field as `true` if you want to preserve the data on the local disk. Otherwis * e, specifying this field as false creates an empty volume. */ preserveExistingData: boolean | core.BooleanOut; /** * (Optional) The snapshot ID of the snapshot to restore as the new stored volumeE.g., `snap-1122aabb`. */ snapshotId?: string | core.StringOut; /** * (Optional) Key-value mapping of resource tags. If configured with a provider [`default_tags` configu * ration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configu * ration-block) present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; /** * Target Amazon Resource Name (ARN), e.g., `arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw- * 12345678/target/iqn.1997-05.com.amazon:TargetName`. */ targetArn: string | core.StringOut; /** * (Required) The name of the iSCSI target used by initiators to connect to the target and as a suffix * for the target ARN. The target name must be unique across all volumes of a gateway. */ targetName: string | core.StringOut; /** * A value that indicates whether a storage volume is attached to, detached from, or is in the process * of detaching from a gateway. */ volumeAttachmentStatus: string | core.StringOut; /** * Volume ID, e.g., `vol-12345678`. */ volumeId: string | core.StringOut; /** * The size of the data stored on the volume in bytes. */ volumeSizeInBytes: number | core.NumberOut; /** * indicates the state of the storage volume. */ volumeStatus: string | core.StringOut; /** * indicates the type of the volume. */ volumeType: string | core.StringOut; constructor(name: string, args?: StoredIscsiVolumeArgs); getNamespace(): string; } //# sourceMappingURL=stored_iscsi_volume.d.ts.map