amazonka-drs-2.0: Amazon Elastic Disaster Recovery Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DrS.CreateReplicationConfigurationTemplate

Description

Creates a new ReplicationConfigurationTemplate.

Synopsis

Creating a Request

data CreateReplicationConfigurationTemplate Source #

Constructors

CreateReplicationConfigurationTemplate' 

Fields

Instances

Instances details
ToJSON CreateReplicationConfigurationTemplate Source # 
Instance details

Defined in Amazonka.DrS.CreateReplicationConfigurationTemplate

ToHeaders CreateReplicationConfigurationTemplate Source # 
Instance details

Defined in Amazonka.DrS.CreateReplicationConfigurationTemplate

ToPath CreateReplicationConfigurationTemplate Source # 
Instance details

Defined in Amazonka.DrS.CreateReplicationConfigurationTemplate

ToQuery CreateReplicationConfigurationTemplate Source # 
Instance details

Defined in Amazonka.DrS.CreateReplicationConfigurationTemplate

AWSRequest CreateReplicationConfigurationTemplate Source # 
Instance details

Defined in Amazonka.DrS.CreateReplicationConfigurationTemplate

Generic CreateReplicationConfigurationTemplate Source # 
Instance details

Defined in Amazonka.DrS.CreateReplicationConfigurationTemplate

Show CreateReplicationConfigurationTemplate Source # 
Instance details

Defined in Amazonka.DrS.CreateReplicationConfigurationTemplate

NFData CreateReplicationConfigurationTemplate Source # 
Instance details

Defined in Amazonka.DrS.CreateReplicationConfigurationTemplate

Eq CreateReplicationConfigurationTemplate Source # 
Instance details

Defined in Amazonka.DrS.CreateReplicationConfigurationTemplate

Hashable CreateReplicationConfigurationTemplate Source # 
Instance details

Defined in Amazonka.DrS.CreateReplicationConfigurationTemplate

type AWSResponse CreateReplicationConfigurationTemplate Source # 
Instance details

Defined in Amazonka.DrS.CreateReplicationConfigurationTemplate

type Rep CreateReplicationConfigurationTemplate Source # 
Instance details

Defined in Amazonka.DrS.CreateReplicationConfigurationTemplate

type Rep CreateReplicationConfigurationTemplate = D1 ('MetaData "CreateReplicationConfigurationTemplate" "Amazonka.DrS.CreateReplicationConfigurationTemplate" "amazonka-drs-2.0-Jcy074h2jPgFhWHQx96blx" 'False) (C1 ('MetaCons "CreateReplicationConfigurationTemplate'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "ebsEncryptionKeyArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive (HashMap Text Text)))) :*: S1 ('MetaSel ('Just "associateDefaultSecurityGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))) :*: ((S1 ('MetaSel ('Just "bandwidthThrottling") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "createPublicIP") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "dataPlaneRouting") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ReplicationConfigurationDataPlaneRouting) :*: S1 ('MetaSel ('Just "defaultLargeStagingDiskType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ReplicationConfigurationDefaultLargeStagingDiskType)))) :*: ((S1 ('MetaSel ('Just "ebsEncryption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ReplicationConfigurationEbsEncryption) :*: (S1 ('MetaSel ('Just "pitPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty PITPolicyRule)) :*: S1 ('MetaSel ('Just "replicationServerInstanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "replicationServersSecurityGroupsIDs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "stagingAreaSubnetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "stagingAreaTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive (HashMap Text Text))) :*: S1 ('MetaSel ('Just "useDedicatedReplicationServer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))))))

newCreateReplicationConfigurationTemplate Source #

Create a value of CreateReplicationConfigurationTemplate with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

CreateReplicationConfigurationTemplate, createReplicationConfigurationTemplate_ebsEncryptionKeyArn - The ARN of the EBS encryption key to be used during replication.

CreateReplicationConfigurationTemplate, createReplicationConfigurationTemplate_tags - A set of tags to be associated with the Replication Configuration Template resource.

CreateReplicationConfigurationTemplate, createReplicationConfigurationTemplate_associateDefaultSecurityGroup - Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.

CreateReplicationConfigurationTemplate, createReplicationConfigurationTemplate_bandwidthThrottling - Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.

CreateReplicationConfigurationTemplate, createReplicationConfigurationTemplate_createPublicIP - Whether to create a Public IP for the Recovery Instance by default.

CreateReplicationConfigurationTemplate, createReplicationConfigurationTemplate_dataPlaneRouting - The data plane routing mechanism that will be used for replication.

CreateReplicationConfigurationTemplate, createReplicationConfigurationTemplate_defaultLargeStagingDiskType - The Staging Disk EBS volume type to be used during replication.

CreateReplicationConfigurationTemplate, createReplicationConfigurationTemplate_ebsEncryption - The type of EBS encryption to be used during replication.

CreateReplicationConfigurationTemplate, createReplicationConfigurationTemplate_pitPolicy - The Point in time (PIT) policy to manage snapshots taken during replication.

CreateReplicationConfigurationTemplate, createReplicationConfigurationTemplate_replicationServerInstanceType - The instance type to be used for the replication server.

CreateReplicationConfigurationTemplate, createReplicationConfigurationTemplate_replicationServersSecurityGroupsIDs - The security group IDs that will be used by the replication server.

CreateReplicationConfigurationTemplate, createReplicationConfigurationTemplate_stagingAreaSubnetId - The subnet to be used by the replication staging area.

CreateReplicationConfigurationTemplate, createReplicationConfigurationTemplate_stagingAreaTags - A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.

CreateReplicationConfigurationTemplate, createReplicationConfigurationTemplate_useDedicatedReplicationServer - Whether to use a dedicated Replication Server in the replication staging area.

Request Lenses

createReplicationConfigurationTemplate_tags :: Lens' CreateReplicationConfigurationTemplate (Maybe (HashMap Text Text)) Source #

A set of tags to be associated with the Replication Configuration Template resource.

createReplicationConfigurationTemplate_associateDefaultSecurityGroup :: Lens' CreateReplicationConfigurationTemplate Bool Source #

Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.

createReplicationConfigurationTemplate_bandwidthThrottling :: Lens' CreateReplicationConfigurationTemplate Natural Source #

Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.

createReplicationConfigurationTemplate_createPublicIP :: Lens' CreateReplicationConfigurationTemplate Bool Source #

Whether to create a Public IP for the Recovery Instance by default.

createReplicationConfigurationTemplate_pitPolicy :: Lens' CreateReplicationConfigurationTemplate (NonEmpty PITPolicyRule) Source #

The Point in time (PIT) policy to manage snapshots taken during replication.

createReplicationConfigurationTemplate_stagingAreaTags :: Lens' CreateReplicationConfigurationTemplate (HashMap Text Text) Source #

A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.

createReplicationConfigurationTemplate_useDedicatedReplicationServer :: Lens' CreateReplicationConfigurationTemplate Bool Source #

Whether to use a dedicated Replication Server in the replication staging area.

Destructuring the Response

data ReplicationConfigurationTemplate Source #

See: newReplicationConfigurationTemplate smart constructor.

Constructors

ReplicationConfigurationTemplate' 

Fields

Instances

Instances details
FromJSON ReplicationConfigurationTemplate Source # 
Instance details

Defined in Amazonka.DrS.Types.ReplicationConfigurationTemplate

Generic ReplicationConfigurationTemplate Source # 
Instance details

Defined in Amazonka.DrS.Types.ReplicationConfigurationTemplate

Associated Types

type Rep ReplicationConfigurationTemplate :: Type -> Type #

Show ReplicationConfigurationTemplate Source # 
Instance details

Defined in Amazonka.DrS.Types.ReplicationConfigurationTemplate

NFData ReplicationConfigurationTemplate Source # 
Instance details

Defined in Amazonka.DrS.Types.ReplicationConfigurationTemplate

Eq ReplicationConfigurationTemplate Source # 
Instance details

Defined in Amazonka.DrS.Types.ReplicationConfigurationTemplate

Hashable ReplicationConfigurationTemplate Source # 
Instance details

Defined in Amazonka.DrS.Types.ReplicationConfigurationTemplate

type Rep ReplicationConfigurationTemplate Source # 
Instance details

Defined in Amazonka.DrS.Types.ReplicationConfigurationTemplate

type Rep ReplicationConfigurationTemplate = D1 ('MetaData "ReplicationConfigurationTemplate" "Amazonka.DrS.Types.ReplicationConfigurationTemplate" "amazonka-drs-2.0-Jcy074h2jPgFhWHQx96blx" 'False) (C1 ('MetaCons "ReplicationConfigurationTemplate'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "associateDefaultSecurityGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "bandwidthThrottling") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "createPublicIP") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "dataPlaneRouting") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReplicationConfigurationDataPlaneRouting)) :*: S1 ('MetaSel ('Just "defaultLargeStagingDiskType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReplicationConfigurationDefaultLargeStagingDiskType))) :*: (S1 ('MetaSel ('Just "ebsEncryption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReplicationConfigurationEbsEncryption)) :*: S1 ('MetaSel ('Just "ebsEncryptionKeyArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "pitPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty PITPolicyRule))) :*: S1 ('MetaSel ('Just "replicationServerInstanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "replicationServersSecurityGroupsIDs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "stagingAreaSubnetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "stagingAreaTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive (HashMap Text Text)))) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive (HashMap Text Text))))) :*: (S1 ('MetaSel ('Just "useDedicatedReplicationServer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "replicationConfigurationTemplateID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newReplicationConfigurationTemplate Source #

Create a value of ReplicationConfigurationTemplate with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:arn:ReplicationConfigurationTemplate', replicationConfigurationTemplate_arn - The Replication Configuration Template ARN.

$sel:associateDefaultSecurityGroup:ReplicationConfigurationTemplate', replicationConfigurationTemplate_associateDefaultSecurityGroup - Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.

$sel:bandwidthThrottling:ReplicationConfigurationTemplate', replicationConfigurationTemplate_bandwidthThrottling - Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.

$sel:createPublicIP:ReplicationConfigurationTemplate', replicationConfigurationTemplate_createPublicIP - Whether to create a Public IP for the Recovery Instance by default.

$sel:dataPlaneRouting:ReplicationConfigurationTemplate', replicationConfigurationTemplate_dataPlaneRouting - The data plane routing mechanism that will be used for replication.

$sel:defaultLargeStagingDiskType:ReplicationConfigurationTemplate', replicationConfigurationTemplate_defaultLargeStagingDiskType - The Staging Disk EBS volume type to be used during replication.

$sel:ebsEncryption:ReplicationConfigurationTemplate', replicationConfigurationTemplate_ebsEncryption - The type of EBS encryption to be used during replication.

$sel:ebsEncryptionKeyArn:ReplicationConfigurationTemplate', replicationConfigurationTemplate_ebsEncryptionKeyArn - The ARN of the EBS encryption key to be used during replication.

$sel:pitPolicy:ReplicationConfigurationTemplate', replicationConfigurationTemplate_pitPolicy - The Point in time (PIT) policy to manage snapshots taken during replication.

$sel:replicationServerInstanceType:ReplicationConfigurationTemplate', replicationConfigurationTemplate_replicationServerInstanceType - The instance type to be used for the replication server.

$sel:replicationServersSecurityGroupsIDs:ReplicationConfigurationTemplate', replicationConfigurationTemplate_replicationServersSecurityGroupsIDs - The security group IDs that will be used by the replication server.

$sel:stagingAreaSubnetId:ReplicationConfigurationTemplate', replicationConfigurationTemplate_stagingAreaSubnetId - The subnet to be used by the replication staging area.

$sel:stagingAreaTags:ReplicationConfigurationTemplate', replicationConfigurationTemplate_stagingAreaTags - A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.

$sel:tags:ReplicationConfigurationTemplate', replicationConfigurationTemplate_tags - A set of tags to be associated with the Replication Configuration Template resource.

$sel:useDedicatedReplicationServer:ReplicationConfigurationTemplate', replicationConfigurationTemplate_useDedicatedReplicationServer - Whether to use a dedicated Replication Server in the replication staging area.

$sel:replicationConfigurationTemplateID:ReplicationConfigurationTemplate', replicationConfigurationTemplate_replicationConfigurationTemplateID - The Replication Configuration Template ID.

Response Lenses

replicationConfigurationTemplate_associateDefaultSecurityGroup :: Lens' ReplicationConfigurationTemplate (Maybe Bool) Source #

Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.

replicationConfigurationTemplate_bandwidthThrottling :: Lens' ReplicationConfigurationTemplate (Maybe Natural) Source #

Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.

replicationConfigurationTemplate_createPublicIP :: Lens' ReplicationConfigurationTemplate (Maybe Bool) Source #

Whether to create a Public IP for the Recovery Instance by default.

replicationConfigurationTemplate_ebsEncryptionKeyArn :: Lens' ReplicationConfigurationTemplate (Maybe Text) Source #

The ARN of the EBS encryption key to be used during replication.

replicationConfigurationTemplate_pitPolicy :: Lens' ReplicationConfigurationTemplate (Maybe (NonEmpty PITPolicyRule)) Source #

The Point in time (PIT) policy to manage snapshots taken during replication.

replicationConfigurationTemplate_stagingAreaTags :: Lens' ReplicationConfigurationTemplate (Maybe (HashMap Text Text)) Source #

A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.

replicationConfigurationTemplate_tags :: Lens' ReplicationConfigurationTemplate (Maybe (HashMap Text Text)) Source #

A set of tags to be associated with the Replication Configuration Template resource.

replicationConfigurationTemplate_useDedicatedReplicationServer :: Lens' ReplicationConfigurationTemplate (Maybe Bool) Source #

Whether to use a dedicated Replication Server in the replication staging area.