Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- defaultService :: Service
- _ValidationException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidStateException :: AsError a => Getting (First ServiceError) a ServiceError
- _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- newtype BackupStatus where
- BackupStatus' { }
- pattern BackupStatus_DELETING :: BackupStatus
- pattern BackupStatus_FAILED :: BackupStatus
- pattern BackupStatus_IN_PROGRESS :: BackupStatus
- pattern BackupStatus_OK :: BackupStatus
- newtype BackupType where
- BackupType' { }
- pattern BackupType_AUTOMATED :: BackupType
- pattern BackupType_MANUAL :: BackupType
- newtype MaintenanceStatus where
- MaintenanceStatus' { }
- pattern MaintenanceStatus_FAILED :: MaintenanceStatus
- pattern MaintenanceStatus_SUCCESS :: MaintenanceStatus
- newtype NodeAssociationStatus where
- newtype ServerStatus where
- ServerStatus' { }
- pattern ServerStatus_BACKING_UP :: ServerStatus
- pattern ServerStatus_CONNECTION_LOST :: ServerStatus
- pattern ServerStatus_CREATING :: ServerStatus
- pattern ServerStatus_DELETING :: ServerStatus
- pattern ServerStatus_FAILED :: ServerStatus
- pattern ServerStatus_HEALTHY :: ServerStatus
- pattern ServerStatus_MODIFYING :: ServerStatus
- pattern ServerStatus_RESTORING :: ServerStatus
- pattern ServerStatus_RUNNING :: ServerStatus
- pattern ServerStatus_SETUP :: ServerStatus
- pattern ServerStatus_TERMINATED :: ServerStatus
- pattern ServerStatus_UNDER_MAINTENANCE :: ServerStatus
- pattern ServerStatus_UNHEALTHY :: ServerStatus
- data AccountAttribute = AccountAttribute' {}
- newAccountAttribute :: AccountAttribute
- accountAttribute_used :: Lens' AccountAttribute (Maybe Int)
- accountAttribute_maximum :: Lens' AccountAttribute (Maybe Int)
- accountAttribute_name :: Lens' AccountAttribute (Maybe Text)
- data Backup = Backup' {
- engineVersion :: Maybe Text
- serviceRoleArn :: Maybe Text
- status :: Maybe BackupStatus
- instanceProfileArn :: Maybe Text
- securityGroupIds :: Maybe [Text]
- statusDescription :: Maybe Text
- serverName :: Maybe Text
- subnetIds :: Maybe [Text]
- keyPair :: Maybe Text
- createdAt :: Maybe POSIX
- backupId :: Maybe Text
- engine :: Maybe Text
- instanceType :: Maybe Text
- engineModel :: Maybe Text
- preferredMaintenanceWindow :: Maybe Text
- userArn :: Maybe Text
- preferredBackupWindow :: Maybe Text
- s3LogUrl :: Maybe Text
- s3DataSize :: Maybe Int
- backupArn :: Maybe Text
- s3DataUrl :: Maybe Text
- description :: Maybe Text
- backupType :: Maybe BackupType
- toolsVersion :: Maybe Text
- newBackup :: Backup
- backup_engineVersion :: Lens' Backup (Maybe Text)
- backup_serviceRoleArn :: Lens' Backup (Maybe Text)
- backup_status :: Lens' Backup (Maybe BackupStatus)
- backup_instanceProfileArn :: Lens' Backup (Maybe Text)
- backup_securityGroupIds :: Lens' Backup (Maybe [Text])
- backup_statusDescription :: Lens' Backup (Maybe Text)
- backup_serverName :: Lens' Backup (Maybe Text)
- backup_subnetIds :: Lens' Backup (Maybe [Text])
- backup_keyPair :: Lens' Backup (Maybe Text)
- backup_createdAt :: Lens' Backup (Maybe UTCTime)
- backup_backupId :: Lens' Backup (Maybe Text)
- backup_engine :: Lens' Backup (Maybe Text)
- backup_instanceType :: Lens' Backup (Maybe Text)
- backup_engineModel :: Lens' Backup (Maybe Text)
- backup_preferredMaintenanceWindow :: Lens' Backup (Maybe Text)
- backup_userArn :: Lens' Backup (Maybe Text)
- backup_preferredBackupWindow :: Lens' Backup (Maybe Text)
- backup_s3LogUrl :: Lens' Backup (Maybe Text)
- backup_s3DataSize :: Lens' Backup (Maybe Int)
- backup_backupArn :: Lens' Backup (Maybe Text)
- backup_s3DataUrl :: Lens' Backup (Maybe Text)
- backup_description :: Lens' Backup (Maybe Text)
- backup_backupType :: Lens' Backup (Maybe BackupType)
- backup_toolsVersion :: Lens' Backup (Maybe Text)
- data EngineAttribute = EngineAttribute' {}
- newEngineAttribute :: EngineAttribute
- engineAttribute_value :: Lens' EngineAttribute (Maybe Text)
- engineAttribute_name :: Lens' EngineAttribute (Maybe Text)
- data Server = Server' {
- engineVersion :: Maybe Text
- serviceRoleArn :: Maybe Text
- disableAutomatedBackup :: Maybe Bool
- status :: Maybe ServerStatus
- instanceProfileArn :: Maybe Text
- securityGroupIds :: Maybe [Text]
- associatePublicIpAddress :: Maybe Bool
- serverName :: Maybe Text
- subnetIds :: Maybe [Text]
- keyPair :: Maybe Text
- createdAt :: Maybe POSIX
- serverArn :: Maybe Text
- customDomain :: Maybe Text
- engine :: Maybe Text
- maintenanceStatus :: Maybe MaintenanceStatus
- instanceType :: Maybe Text
- engineModel :: Maybe Text
- engineAttributes :: Maybe [EngineAttribute]
- preferredMaintenanceWindow :: Maybe Text
- preferredBackupWindow :: Maybe Text
- statusReason :: Maybe Text
- endpoint :: Maybe Text
- cloudFormationStackArn :: Maybe Text
- backupRetentionCount :: Maybe Int
- newServer :: Server
- server_engineVersion :: Lens' Server (Maybe Text)
- server_serviceRoleArn :: Lens' Server (Maybe Text)
- server_disableAutomatedBackup :: Lens' Server (Maybe Bool)
- server_status :: Lens' Server (Maybe ServerStatus)
- server_instanceProfileArn :: Lens' Server (Maybe Text)
- server_securityGroupIds :: Lens' Server (Maybe [Text])
- server_associatePublicIpAddress :: Lens' Server (Maybe Bool)
- server_serverName :: Lens' Server (Maybe Text)
- server_subnetIds :: Lens' Server (Maybe [Text])
- server_keyPair :: Lens' Server (Maybe Text)
- server_createdAt :: Lens' Server (Maybe UTCTime)
- server_serverArn :: Lens' Server (Maybe Text)
- server_customDomain :: Lens' Server (Maybe Text)
- server_engine :: Lens' Server (Maybe Text)
- server_maintenanceStatus :: Lens' Server (Maybe MaintenanceStatus)
- server_instanceType :: Lens' Server (Maybe Text)
- server_engineModel :: Lens' Server (Maybe Text)
- server_engineAttributes :: Lens' Server (Maybe [EngineAttribute])
- server_preferredMaintenanceWindow :: Lens' Server (Maybe Text)
- server_preferredBackupWindow :: Lens' Server (Maybe Text)
- server_statusReason :: Lens' Server (Maybe Text)
- server_endpoint :: Lens' Server (Maybe Text)
- server_cloudFormationStackArn :: Lens' Server (Maybe Text)
- server_backupRetentionCount :: Lens' Server (Maybe Int)
- data ServerEvent = ServerEvent' {}
- newServerEvent :: ServerEvent
- serverEvent_logUrl :: Lens' ServerEvent (Maybe Text)
- serverEvent_serverName :: Lens' ServerEvent (Maybe Text)
- serverEvent_createdAt :: Lens' ServerEvent (Maybe UTCTime)
- serverEvent_message :: Lens' ServerEvent (Maybe Text)
- data Tag = Tag' {}
- newTag :: Text -> Text -> Tag
- tag_key :: Lens' Tag Text
- tag_value :: Lens' Tag Text
Service Configuration
defaultService :: Service Source #
API version 2016-11-01
of the Amazon OpsWorks CM SDK configuration.
Errors
_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
One or more of the provided request parameters are not valid.
_ResourceAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The requested resource cannot be created because it already exists.
_InvalidNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError Source #
This occurs when the provided nextToken is not valid.
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The requested resource does not exist, or access was denied.
_InvalidStateException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The resource is in a state that does not allow you to perform a specified action.
_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The limit of servers or backups has been reached.
BackupStatus
newtype BackupStatus Source #
pattern BackupStatus_DELETING :: BackupStatus | |
pattern BackupStatus_FAILED :: BackupStatus | |
pattern BackupStatus_IN_PROGRESS :: BackupStatus | |
pattern BackupStatus_OK :: BackupStatus |
Instances
BackupType
newtype BackupType Source #
pattern BackupType_AUTOMATED :: BackupType | |
pattern BackupType_MANUAL :: BackupType |
Instances
MaintenanceStatus
newtype MaintenanceStatus Source #
pattern MaintenanceStatus_FAILED :: MaintenanceStatus | |
pattern MaintenanceStatus_SUCCESS :: MaintenanceStatus |
Instances
NodeAssociationStatus
newtype NodeAssociationStatus Source #
The status of the association or disassociation request.
Possible values:
SUCCESS
: The association or disassociation succeeded.FAILED
: The association or disassociation failed.IN_PROGRESS
: The association or disassociation is still in progress.
pattern NodeAssociationStatus_FAILED :: NodeAssociationStatus | |
pattern NodeAssociationStatus_IN_PROGRESS :: NodeAssociationStatus | |
pattern NodeAssociationStatus_SUCCESS :: NodeAssociationStatus |
Instances
ServerStatus
newtype ServerStatus Source #
pattern ServerStatus_BACKING_UP :: ServerStatus | |
pattern ServerStatus_CONNECTION_LOST :: ServerStatus | |
pattern ServerStatus_CREATING :: ServerStatus | |
pattern ServerStatus_DELETING :: ServerStatus | |
pattern ServerStatus_FAILED :: ServerStatus | |
pattern ServerStatus_HEALTHY :: ServerStatus | |
pattern ServerStatus_MODIFYING :: ServerStatus | |
pattern ServerStatus_RESTORING :: ServerStatus | |
pattern ServerStatus_RUNNING :: ServerStatus | |
pattern ServerStatus_SETUP :: ServerStatus | |
pattern ServerStatus_TERMINATED :: ServerStatus | |
pattern ServerStatus_UNDER_MAINTENANCE :: ServerStatus | |
pattern ServerStatus_UNHEALTHY :: ServerStatus |
Instances
AccountAttribute
data AccountAttribute Source #
Stores account attributes.
See: newAccountAttribute
smart constructor.
AccountAttribute' | |
|
Instances
newAccountAttribute :: AccountAttribute Source #
Create a value of AccountAttribute
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:used:AccountAttribute'
, accountAttribute_used
- The current usage, such as the current number of servers that are
associated with the account.
$sel:maximum:AccountAttribute'
, accountAttribute_maximum
- The maximum allowed value.
$sel:name:AccountAttribute'
, accountAttribute_name
- The attribute name. The following are supported attribute names.
- ServerLimit: The number of current servers/maximum number of servers allowed. By default, you can have a maximum of 10 servers.
- ManualBackupLimit: The number of current manual backups/maximum number of backups allowed. By default, you can have a maximum of 50 manual backups saved.
accountAttribute_used :: Lens' AccountAttribute (Maybe Int) Source #
The current usage, such as the current number of servers that are associated with the account.
accountAttribute_maximum :: Lens' AccountAttribute (Maybe Int) Source #
The maximum allowed value.
accountAttribute_name :: Lens' AccountAttribute (Maybe Text) Source #
The attribute name. The following are supported attribute names.
- ServerLimit: The number of current servers/maximum number of servers allowed. By default, you can have a maximum of 10 servers.
- ManualBackupLimit: The number of current manual backups/maximum number of backups allowed. By default, you can have a maximum of 50 manual backups saved.
Backup
Describes a single backup.
See: newBackup
smart constructor.
Backup' | |
|
Instances
Create a value of Backup
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:Backup'
, backup_engineVersion
- The engine version that is obtained from the server when the backup is
created.
$sel:serviceRoleArn:Backup'
, backup_serviceRoleArn
- The service role ARN that is obtained from the server when the backup is
created.
$sel:status:Backup'
, backup_status
- The status of a backup while in progress.
$sel:instanceProfileArn:Backup'
, backup_instanceProfileArn
- The EC2 instance profile ARN that is obtained from the server when the
backup is created. Because this value is stored, you are not required to
provide the InstanceProfileArn again if you restore a backup.
$sel:securityGroupIds:Backup'
, backup_securityGroupIds
- The security group IDs that are obtained from the server when the backup
is created.
$sel:statusDescription:Backup'
, backup_statusDescription
- An informational message about backup status.
$sel:serverName:Backup'
, backup_serverName
- The name of the server from which the backup was made.
$sel:subnetIds:Backup'
, backup_subnetIds
- The subnet IDs that are obtained from the server when the backup is
created.
$sel:keyPair:Backup'
, backup_keyPair
- The key pair that is obtained from the server when the backup is
created.
$sel:createdAt:Backup'
, backup_createdAt
- The time stamp when the backup was created in the database. Example:
2016-07-29T13:38:47.520Z
$sel:backupId:Backup'
, backup_backupId
- The generated ID of the backup. Example:
myServerName-yyyyMMddHHmmssSSS
$sel:engine:Backup'
, backup_engine
- The engine type that is obtained from the server when the backup is
created.
$sel:instanceType:Backup'
, backup_instanceType
- The instance type that is obtained from the server when the backup is
created.
$sel:engineModel:Backup'
, backup_engineModel
- The engine model that is obtained from the server when the backup is
created.
$sel:preferredMaintenanceWindow:Backup'
, backup_preferredMaintenanceWindow
- The preferred maintenance period that is obtained from the server when
the backup is created.
$sel:userArn:Backup'
, backup_userArn
- The IAM user ARN of the requester for manual backups. This field is
empty for automated backups.
$sel:preferredBackupWindow:Backup'
, backup_preferredBackupWindow
- The preferred backup period that is obtained from the server when the
backup is created.
$sel:s3LogUrl:Backup'
, backup_s3LogUrl
- The Amazon S3 URL of the backup's log file.
$sel:s3DataSize:Backup'
, backup_s3DataSize
- This field is deprecated and is no longer used.
$sel:backupArn:Backup'
, backup_backupArn
- The ARN of the backup.
$sel:s3DataUrl:Backup'
, backup_s3DataUrl
- This field is deprecated and is no longer used.
$sel:description:Backup'
, backup_description
- A user-provided description for a manual backup. This field is empty for
automated backups.
$sel:backupType:Backup'
, backup_backupType
- The backup type. Valid values are automated
or manual
.
$sel:toolsVersion:Backup'
, backup_toolsVersion
- The version of AWS OpsWorks CM-specific tools that is obtained from the
server when the backup is created.
backup_engineVersion :: Lens' Backup (Maybe Text) Source #
The engine version that is obtained from the server when the backup is created.
backup_serviceRoleArn :: Lens' Backup (Maybe Text) Source #
The service role ARN that is obtained from the server when the backup is created.
backup_status :: Lens' Backup (Maybe BackupStatus) Source #
The status of a backup while in progress.
backup_instanceProfileArn :: Lens' Backup (Maybe Text) Source #
The EC2 instance profile ARN that is obtained from the server when the backup is created. Because this value is stored, you are not required to provide the InstanceProfileArn again if you restore a backup.
backup_securityGroupIds :: Lens' Backup (Maybe [Text]) Source #
The security group IDs that are obtained from the server when the backup is created.
backup_statusDescription :: Lens' Backup (Maybe Text) Source #
An informational message about backup status.
backup_serverName :: Lens' Backup (Maybe Text) Source #
The name of the server from which the backup was made.
backup_subnetIds :: Lens' Backup (Maybe [Text]) Source #
The subnet IDs that are obtained from the server when the backup is created.
backup_keyPair :: Lens' Backup (Maybe Text) Source #
The key pair that is obtained from the server when the backup is created.
backup_createdAt :: Lens' Backup (Maybe UTCTime) Source #
The time stamp when the backup was created in the database. Example:
2016-07-29T13:38:47.520Z
backup_backupId :: Lens' Backup (Maybe Text) Source #
The generated ID of the backup. Example:
myServerName-yyyyMMddHHmmssSSS
backup_engine :: Lens' Backup (Maybe Text) Source #
The engine type that is obtained from the server when the backup is created.
backup_instanceType :: Lens' Backup (Maybe Text) Source #
The instance type that is obtained from the server when the backup is created.
backup_engineModel :: Lens' Backup (Maybe Text) Source #
The engine model that is obtained from the server when the backup is created.
backup_preferredMaintenanceWindow :: Lens' Backup (Maybe Text) Source #
The preferred maintenance period that is obtained from the server when the backup is created.
backup_userArn :: Lens' Backup (Maybe Text) Source #
The IAM user ARN of the requester for manual backups. This field is empty for automated backups.
backup_preferredBackupWindow :: Lens' Backup (Maybe Text) Source #
The preferred backup period that is obtained from the server when the backup is created.
backup_s3DataSize :: Lens' Backup (Maybe Int) Source #
This field is deprecated and is no longer used.
backup_s3DataUrl :: Lens' Backup (Maybe Text) Source #
This field is deprecated and is no longer used.
backup_description :: Lens' Backup (Maybe Text) Source #
A user-provided description for a manual backup. This field is empty for automated backups.
backup_backupType :: Lens' Backup (Maybe BackupType) Source #
The backup type. Valid values are automated
or manual
.
backup_toolsVersion :: Lens' Backup (Maybe Text) Source #
The version of AWS OpsWorks CM-specific tools that is obtained from the server when the backup is created.
EngineAttribute
data EngineAttribute Source #
A name and value pair that is specific to the engine of the server.
See: newEngineAttribute
smart constructor.
Instances
newEngineAttribute :: EngineAttribute Source #
Create a value of EngineAttribute
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:value:EngineAttribute'
, engineAttribute_value
- The value of the engine attribute.
$sel:name:EngineAttribute'
, engineAttribute_name
- The name of the engine attribute.
engineAttribute_value :: Lens' EngineAttribute (Maybe Text) Source #
The value of the engine attribute.
engineAttribute_name :: Lens' EngineAttribute (Maybe Text) Source #
The name of the engine attribute.
Server
Describes a configuration management server.
See: newServer
smart constructor.
Server' | |
|
Instances
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_subnetIds :: Lens' Server (Maybe [Text]) Source #
The subnet IDs specified in a CreateServer request.
server_createdAt :: Lens' Server (Maybe UTCTime) Source #
Time stamp of server creation. Example 2016-07-29T13:38:47.520Z
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.
ServerEvent
data ServerEvent Source #
An event that is related to the server, such as the start of maintenance or backup.
See: newServerEvent
smart constructor.
Instances
newServerEvent :: ServerEvent Source #
Create a value of ServerEvent
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:logUrl:ServerEvent'
, serverEvent_logUrl
- The Amazon S3 URL of the event's log file.
$sel:serverName:ServerEvent'
, serverEvent_serverName
- The name of the server on or for which the event occurred.
$sel:createdAt:ServerEvent'
, serverEvent_createdAt
- The time when the event occurred.
$sel:message:ServerEvent'
, serverEvent_message
- A human-readable informational or status message.
serverEvent_logUrl :: Lens' ServerEvent (Maybe Text) Source #
The Amazon S3 URL of the event's log file.
serverEvent_serverName :: Lens' ServerEvent (Maybe Text) Source #
The name of the server on or for which the event occurred.
serverEvent_createdAt :: Lens' ServerEvent (Maybe UTCTime) Source #
The time when the event occurred.
serverEvent_message :: Lens' ServerEvent (Maybe Text) Source #
A human-readable informational or status message.
Tag
A map that contains tag keys and tag values to attach to an AWS OpsWorks for Chef Automate or AWS OpsWorks for Puppet Enterprise server. Leading and trailing white spaces are trimmed from both the key and value. A maximum of 50 user-applied tags is allowed for tag-supported AWS OpsWorks-CM resources.
See: newTag
smart constructor.
Tag' | |
|
Instances
Eq Tag Source # | |
Read Tag Source # | |
Show Tag Source # | |
Generic Tag Source # | |
NFData Tag Source # | |
Defined in Amazonka.OpsWorksCM.Types.Tag | |
Hashable Tag Source # | |
Defined in Amazonka.OpsWorksCM.Types.Tag | |
ToJSON Tag Source # | |
Defined in Amazonka.OpsWorksCM.Types.Tag | |
FromJSON Tag Source # | |
type Rep Tag Source # | |
Defined in Amazonka.OpsWorksCM.Types.Tag type Rep Tag = D1 ('MetaData "Tag" "Amazonka.OpsWorksCM.Types.Tag" "libZSservicesZSamazonka-opsworks-cmZSamazonka-opsworks-cm" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
Create a value of Tag
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:key:Tag'
, tag_key
- A tag key, such as Stage
or Name
. A tag key cannot be empty. The key
can be a maximum of 127 characters, and can contain only Unicode
letters, numbers, or separators, or the following special characters:
+ - = . _ : /
$sel:value:Tag'
, tag_value
- An optional tag value, such as Production
or test-owcm-server
. The
value can be a maximum of 255 characters, and contain only Unicode
letters, numbers, or separators, or the following special characters:
+ - = . _ : /