libZSservicesZSamazonka-opsworks-cmZSamazonka-opsworks-cm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.OpsWorksCM.Types.Server

Description

 
Synopsis

Documentation

data Server Source #

Describes a configuration management server.

See: newServer smart constructor.

Constructors

Server' 

Fields

  • engineVersion :: Maybe Text

    The engine version of the server. For a Chef server, the valid value for EngineVersion is currently 2. For a Puppet server, specify either 2019 or 2017.

  • serviceRoleArn :: Maybe Text

    The service role ARN used to create the server.

  • disableAutomatedBackup :: Maybe Bool

    Disables automated backups. The number of stored backups is dependent on the value of PreferredBackupCount.

  • status :: Maybe ServerStatus

    The server's status. This field displays the states of actions in progress, such as creating, running, or backing up the server, as well as the server's health state.

  • instanceProfileArn :: Maybe Text

    The instance profile ARN of the server.

  • securityGroupIds :: Maybe [Text]

    The security group IDs for the server, as specified in the CloudFormation stack. These might not be the same security groups that are shown in the EC2 console.

  • associatePublicIpAddress :: Maybe Bool

    Associate a public IP address with a server that you are launching.

  • serverName :: Maybe Text

    The name of the server.

  • subnetIds :: Maybe [Text]

    The subnet IDs specified in a CreateServer request.

  • keyPair :: Maybe Text

    The key pair associated with the server.

  • createdAt :: Maybe POSIX

    Time stamp of server creation. Example 2016-07-29T13:38:47.520Z

  • serverArn :: Maybe Text

    The ARN of the server.

  • customDomain :: Maybe Text

    An optional public endpoint of a server, such as https://aws.my-company.com. You cannot access the server by using the Endpoint value if the server has a CustomDomain specified.

  • engine :: Maybe Text

    The engine type of the server. Valid values in this release include ChefAutomate and Puppet.

  • maintenanceStatus :: Maybe MaintenanceStatus

    The status of the most recent server maintenance run. Shows SUCCESS or FAILED.

  • instanceType :: Maybe Text

    The instance type for the server, as specified in the CloudFormation stack. This might not be the same instance type that is shown in the EC2 console.

  • engineModel :: Maybe Text

    The engine model of the server. Valid values in this release include Monolithic for Puppet and Single for Chef.

  • engineAttributes :: Maybe [EngineAttribute]

    The response of a createServer() request returns the master credential to access the server in EngineAttributes. These credentials are not stored by AWS OpsWorks CM; they are returned only as part of the result of createServer().

    Attributes returned in a createServer response for Chef

    • CHEF_AUTOMATE_PIVOTAL_KEY: A base64-encoded RSA private key that is generated by AWS OpsWorks for Chef Automate. This private key is required to access the Chef API.
    • CHEF_STARTER_KIT: A base64-encoded ZIP file. The ZIP file contains a Chef starter kit, which includes a README, a configuration file, and the required RSA private key. Save this file, unzip it, and then change to the directory where you've unzipped the file contents. From this directory, you can run Knife commands.

    Attributes returned in a createServer response for Puppet

    • PUPPET_STARTER_KIT: A base64-encoded ZIP file. The ZIP file contains a Puppet starter kit, including a README and a required private key. Save this file, unzip it, and then change to the directory where you've unzipped the file contents.
    • PUPPET_ADMIN_PASSWORD: An administrator password that you can use to sign in to the Puppet Enterprise console after the server is online.
  • preferredMaintenanceWindow :: Maybe Text

    The preferred maintenance period specified for the server.

  • preferredBackupWindow :: Maybe Text

    The preferred backup period specified for the server.

  • statusReason :: Maybe Text

    Depending on the server status, this field has either a human-readable message (such as a create or backup error), or an escaped block of JSON (used for health check results).

  • endpoint :: Maybe Text

    A DNS name that can be used to access the engine. Example: myserver-asdfghjkl.us-east-1.opsworks.io. You cannot access the server by using the Endpoint value if the server has a CustomDomain specified.

  • cloudFormationStackArn :: Maybe Text

    The ARN of the CloudFormation stack that was used to create the server.

  • backupRetentionCount :: Maybe Int

    The number of automated backups to keep.

Instances

Instances details
Eq Server Source # 
Instance details

Defined in Amazonka.OpsWorksCM.Types.Server

Methods

(==) :: Server -> Server -> Bool #

(/=) :: Server -> Server -> Bool #

Show Server Source # 
Instance details

Defined in Amazonka.OpsWorksCM.Types.Server

Generic Server Source # 
Instance details

Defined in Amazonka.OpsWorksCM.Types.Server

Associated Types

type Rep Server :: Type -> Type #

Methods

from :: Server -> Rep Server x #

to :: Rep Server x -> Server #

NFData Server Source # 
Instance details

Defined in Amazonka.OpsWorksCM.Types.Server

Methods

rnf :: Server -> () #

Hashable Server Source # 
Instance details

Defined in Amazonka.OpsWorksCM.Types.Server

Methods

hashWithSalt :: Int -> Server -> Int #

hash :: Server -> Int #

FromJSON Server Source # 
Instance details

Defined in Amazonka.OpsWorksCM.Types.Server

type Rep Server Source # 
Instance details

Defined in Amazonka.OpsWorksCM.Types.Server

type Rep Server = D1 ('MetaData "Server" "Amazonka.OpsWorksCM.Types.Server" "libZSservicesZSamazonka-opsworks-cmZSamazonka-opsworks-cm" 'False) (C1 ('MetaCons "Server'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "engineVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "serviceRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "disableAutomatedBackup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ServerStatus)) :*: (S1 ('MetaSel ('Just "instanceProfileArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "securityGroupIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))) :*: ((S1 ('MetaSel ('Just "associatePublicIpAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "serverName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "subnetIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 ('MetaSel ('Just "keyPair") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "serverArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "customDomain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "engine") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maintenanceStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MaintenanceStatus)))) :*: (S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "engineModel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "engineAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EngineAttribute]))))) :*: ((S1 ('MetaSel ('Just "preferredMaintenanceWindow") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "preferredBackupWindow") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "statusReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "endpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "cloudFormationStackArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "backupRetentionCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))))))

newServer :: Server Source #

Create a value of Server 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:engineVersion:Server', server_engineVersion - The engine version of the server. For a Chef server, the valid value for EngineVersion is currently 2. For a Puppet server, specify either 2019 or 2017.

$sel:serviceRoleArn:Server', server_serviceRoleArn - The service role ARN used to create the server.

$sel:disableAutomatedBackup:Server', server_disableAutomatedBackup - Disables automated backups. The number of stored backups is dependent on the value of PreferredBackupCount.

$sel:status:Server', server_status - The server's status. This field displays the states of actions in progress, such as creating, running, or backing up the server, as well as the server's health state.

$sel:instanceProfileArn:Server', server_instanceProfileArn - The instance profile ARN of the server.

$sel:securityGroupIds:Server', server_securityGroupIds - The security group IDs for the server, as specified in the CloudFormation stack. These might not be the same security groups that are shown in the EC2 console.

$sel:associatePublicIpAddress:Server', server_associatePublicIpAddress - Associate a public IP address with a server that you are launching.

$sel:serverName:Server', server_serverName - The name of the server.

$sel:subnetIds:Server', server_subnetIds - The subnet IDs specified in a CreateServer request.

$sel:keyPair:Server', server_keyPair - The key pair associated with the server.

$sel:createdAt:Server', server_createdAt - Time stamp of server creation. Example 2016-07-29T13:38:47.520Z

$sel:serverArn:Server', server_serverArn - The ARN of the server.

$sel:customDomain:Server', server_customDomain - An optional public endpoint of a server, such as https://aws.my-company.com. You cannot access the server by using the Endpoint value if the server has a CustomDomain specified.

$sel:engine:Server', server_engine - The engine type of the server. Valid values in this release include ChefAutomate and Puppet.

$sel:maintenanceStatus:Server', server_maintenanceStatus - The status of the most recent server maintenance run. Shows SUCCESS or FAILED.

$sel:instanceType:Server', server_instanceType - The instance type for the server, as specified in the CloudFormation stack. This might not be the same instance type that is shown in the EC2 console.

$sel:engineModel:Server', server_engineModel - The engine model of the server. Valid values in this release include Monolithic for Puppet and Single for Chef.

$sel:engineAttributes:Server', server_engineAttributes - The response of a createServer() request returns the master credential to access the server in EngineAttributes. These credentials are not stored by AWS OpsWorks CM; they are returned only as part of the result of createServer().

Attributes returned in a createServer response for Chef

  • CHEF_AUTOMATE_PIVOTAL_KEY: A base64-encoded RSA private key that is generated by AWS OpsWorks for Chef Automate. This private key is required to access the Chef API.
  • CHEF_STARTER_KIT: A base64-encoded ZIP file. The ZIP file contains a Chef starter kit, which includes a README, a configuration file, and the required RSA private key. Save this file, unzip it, and then change to the directory where you've unzipped the file contents. From this directory, you can run Knife commands.

Attributes returned in a createServer response for Puppet

  • PUPPET_STARTER_KIT: A base64-encoded ZIP file. The ZIP file contains a Puppet starter kit, including a README and a required private key. Save this file, unzip it, and then change to the directory where you've unzipped the file contents.
  • PUPPET_ADMIN_PASSWORD: An administrator password that you can use to sign in to the Puppet Enterprise console after the server is online.

$sel:preferredMaintenanceWindow:Server', server_preferredMaintenanceWindow - The preferred maintenance period specified for the server.

$sel:preferredBackupWindow:Server', server_preferredBackupWindow - The preferred backup period specified for the server.

$sel:statusReason:Server', server_statusReason - Depending on the server status, this field has either a human-readable message (such as a create or backup error), or an escaped block of JSON (used for health check results).

$sel:endpoint:Server', server_endpoint - A DNS name that can be used to access the engine. Example: myserver-asdfghjkl.us-east-1.opsworks.io. You cannot access the server by using the Endpoint value if the server has a CustomDomain specified.

$sel:cloudFormationStackArn:Server', server_cloudFormationStackArn - The ARN of the CloudFormation stack that was used to create the server.

$sel:backupRetentionCount:Server', server_backupRetentionCount - The number of automated backups to keep.

server_engineVersion :: Lens' Server (Maybe Text) Source #

The engine version of the server. For a Chef server, the valid value for EngineVersion is currently 2. For a Puppet server, specify either 2019 or 2017.

server_serviceRoleArn :: Lens' Server (Maybe Text) Source #

The service role ARN used to create the server.

server_disableAutomatedBackup :: Lens' Server (Maybe Bool) Source #

Disables automated backups. The number of stored backups is dependent on the value of PreferredBackupCount.

server_status :: Lens' Server (Maybe ServerStatus) Source #

The server's status. This field displays the states of actions in progress, such as creating, running, or backing up the server, as well as the server's health state.

server_instanceProfileArn :: Lens' Server (Maybe Text) Source #

The instance profile ARN of the server.

server_securityGroupIds :: Lens' Server (Maybe [Text]) Source #

The security group IDs for the server, as specified in the CloudFormation stack. These might not be the same security groups that are shown in the EC2 console.

server_associatePublicIpAddress :: Lens' Server (Maybe Bool) Source #

Associate a public IP address with a server that you are launching.

server_serverName :: Lens' Server (Maybe Text) Source #

The name of the server.

server_subnetIds :: Lens' Server (Maybe [Text]) Source #

The subnet IDs specified in a CreateServer request.

server_keyPair :: Lens' Server (Maybe Text) Source #

The key pair associated with the server.

server_createdAt :: Lens' Server (Maybe UTCTime) Source #

Time stamp of server creation. Example 2016-07-29T13:38:47.520Z

server_serverArn :: Lens' Server (Maybe Text) Source #

The ARN of the server.

server_customDomain :: Lens' Server (Maybe Text) Source #

An optional public endpoint of a server, such as https://aws.my-company.com. You cannot access the server by using the Endpoint value if the server has a CustomDomain specified.

server_engine :: Lens' Server (Maybe Text) Source #

The engine type of the server. Valid values in this release include ChefAutomate and Puppet.

server_maintenanceStatus :: Lens' Server (Maybe MaintenanceStatus) Source #

The status of the most recent server maintenance run. Shows SUCCESS or FAILED.

server_instanceType :: Lens' Server (Maybe Text) Source #

The instance type for the server, as specified in the CloudFormation stack. This might not be the same instance type that is shown in the EC2 console.

server_engineModel :: Lens' Server (Maybe Text) Source #

The engine model of the server. Valid values in this release include Monolithic for Puppet and Single for Chef.

server_engineAttributes :: Lens' Server (Maybe [EngineAttribute]) Source #

The response of a createServer() request returns the master credential to access the server in EngineAttributes. These credentials are not stored by AWS OpsWorks CM; they are returned only as part of the result of createServer().

Attributes returned in a createServer response for Chef

  • CHEF_AUTOMATE_PIVOTAL_KEY: A base64-encoded RSA private key that is generated by AWS OpsWorks for Chef Automate. This private key is required to access the Chef API.
  • CHEF_STARTER_KIT: A base64-encoded ZIP file. The ZIP file contains a Chef starter kit, which includes a README, a configuration file, and the required RSA private key. Save this file, unzip it, and then change to the directory where you've unzipped the file contents. From this directory, you can run Knife commands.

Attributes returned in a createServer response for Puppet

  • PUPPET_STARTER_KIT: A base64-encoded ZIP file. The ZIP file contains a Puppet starter kit, including a README and a required private key. Save this file, unzip it, and then change to the directory where you've unzipped the file contents.
  • PUPPET_ADMIN_PASSWORD: An administrator password that you can use to sign in to the Puppet Enterprise console after the server is online.

server_preferredMaintenanceWindow :: Lens' Server (Maybe Text) Source #

The preferred maintenance period specified for the server.

server_preferredBackupWindow :: Lens' Server (Maybe Text) Source #

The preferred backup period specified for the server.

server_statusReason :: Lens' Server (Maybe Text) Source #

Depending on the server status, this field has either a human-readable message (such as a create or backup error), or an escaped block of JSON (used for health check results).

server_endpoint :: Lens' Server (Maybe Text) Source #

A DNS name that can be used to access the engine. Example: myserver-asdfghjkl.us-east-1.opsworks.io. You cannot access the server by using the Endpoint value if the server has a CustomDomain specified.

server_cloudFormationStackArn :: Lens' Server (Maybe Text) Source #

The ARN of the CloudFormation stack that was used to create the server.

server_backupRetentionCount :: Lens' Server (Maybe Int) Source #

The number of automated backups to keep.