amazonka-route53-recovery-readiness-2.0: Amazon Route53 Recovery Readiness 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.Route53RecoveryReadiness.Types.Resource

Description

 
Synopsis

Documentation

data Resource Source #

The resource element of a resource set.

See: newResource smart constructor.

Constructors

Resource' 

Fields

Instances

Instances details
FromJSON Resource Source # 
Instance details

Defined in Amazonka.Route53RecoveryReadiness.Types.Resource

ToJSON Resource Source # 
Instance details

Defined in Amazonka.Route53RecoveryReadiness.Types.Resource

Generic Resource Source # 
Instance details

Defined in Amazonka.Route53RecoveryReadiness.Types.Resource

Associated Types

type Rep Resource :: Type -> Type #

Methods

from :: Resource -> Rep Resource x #

to :: Rep Resource x -> Resource #

Read Resource Source # 
Instance details

Defined in Amazonka.Route53RecoveryReadiness.Types.Resource

Show Resource Source # 
Instance details

Defined in Amazonka.Route53RecoveryReadiness.Types.Resource

NFData Resource Source # 
Instance details

Defined in Amazonka.Route53RecoveryReadiness.Types.Resource

Methods

rnf :: Resource -> () #

Eq Resource Source # 
Instance details

Defined in Amazonka.Route53RecoveryReadiness.Types.Resource

Hashable Resource Source # 
Instance details

Defined in Amazonka.Route53RecoveryReadiness.Types.Resource

Methods

hashWithSalt :: Int -> Resource -> Int #

hash :: Resource -> Int #

type Rep Resource Source # 
Instance details

Defined in Amazonka.Route53RecoveryReadiness.Types.Resource

type Rep Resource = D1 ('MetaData "Resource" "Amazonka.Route53RecoveryReadiness.Types.Resource" "amazonka-route53-recovery-readiness-2.0-4IMArkySCxS56jpsDTHPd1" 'False) (C1 ('MetaCons "Resource'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "componentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "dnsTargetResource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DNSTargetResource))) :*: (S1 ('MetaSel ('Just "readinessScopes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newResource :: Resource Source #

Create a value of Resource 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:componentId:Resource', resource_componentId - The component identifier of the resource, generated when DNS target resource is used.

$sel:dnsTargetResource:Resource', resource_dnsTargetResource - The DNS target resource.

$sel:readinessScopes:Resource', resource_readinessScopes - A list of recovery group Amazon Resource Names (ARNs) and cell ARNs that this resource is contained within.

$sel:resourceArn:Resource', resource_resourceArn - The Amazon Resource Name (ARN) of the Amazon Web Services resource.

resource_componentId :: Lens' Resource (Maybe Text) Source #

The component identifier of the resource, generated when DNS target resource is used.

resource_readinessScopes :: Lens' Resource (Maybe [Text]) Source #

A list of recovery group Amazon Resource Names (ARNs) and cell ARNs that this resource is contained within.

resource_resourceArn :: Lens' Resource (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Amazon Web Services resource.