| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.AWS.OpsWorks.Types
Contents
- Service
- SslConfiguration
- VirtualizationType
- Command
- RaidArray
- ElasticLoadBalancer
- LifecycleEventConfiguration
- RdsDbInstance
- AppAttributesKeys
- ServiceError'
- StackSummary
- StackAttributesKeys
- LoadBasedAutoScalingConfiguration
- SourceType
- Volume
- ChefConfiguration
- LayerType
- AutoScalingThresholds
- App
- ElasticIp
- ShutdownEventConfiguration
- InstanceIdentity
- UserProfile
- AutoScalingType
- Source
- DataSource
- Architecture
- StackConfigurationManager
- LayerAttributesKeys
- VolumeConfiguration
- ReportedOs
- Permission
- EnvironmentVariable
- Layer
- Recipes
- TimeBasedAutoScalingConfiguration
- SelfUserProfile
- RootDeviceType
- Stack
- DeploymentCommand
- WeeklyAutoScalingSchedule
- DeploymentCommandName
- Instance
- Deployment
- InstancesCount
- AppType
- data OpsWorks
- data JSONError :: *
- data SslConfiguration
- sslConfiguration :: Text -> Text -> SslConfiguration
- scCertificate :: Lens' SslConfiguration Text
- scChain :: Lens' SslConfiguration (Maybe Text)
- scPrivateKey :: Lens' SslConfiguration Text
- data VirtualizationType
- = Hvm
- | Paravirtual
- data Command
- command :: Command
- cAcknowledgedAt :: Lens' Command (Maybe Text)
- cCommandId :: Lens' Command (Maybe Text)
- cCompletedAt :: Lens' Command (Maybe Text)
- cCreatedAt :: Lens' Command (Maybe Text)
- cDeploymentId :: Lens' Command (Maybe Text)
- cExitCode :: Lens' Command (Maybe Int)
- cInstanceId :: Lens' Command (Maybe Text)
- cLogUrl :: Lens' Command (Maybe Text)
- cStatus :: Lens' Command (Maybe Text)
- cType :: Lens' Command (Maybe Text)
- data RaidArray
- raidArray :: RaidArray
- raAvailabilityZone :: Lens' RaidArray (Maybe Text)
- raCreatedAt :: Lens' RaidArray (Maybe Text)
- raDevice :: Lens' RaidArray (Maybe Text)
- raInstanceId :: Lens' RaidArray (Maybe Text)
- raIops :: Lens' RaidArray (Maybe Int)
- raMountPoint :: Lens' RaidArray (Maybe Text)
- raName :: Lens' RaidArray (Maybe Text)
- raNumberOfDisks :: Lens' RaidArray (Maybe Int)
- raRaidArrayId :: Lens' RaidArray (Maybe Text)
- raRaidLevel :: Lens' RaidArray (Maybe Int)
- raSize :: Lens' RaidArray (Maybe Int)
- raStackId :: Lens' RaidArray (Maybe Text)
- raVolumeType :: Lens' RaidArray (Maybe Text)
- data ElasticLoadBalancer
- elasticLoadBalancer :: ElasticLoadBalancer
- elbAvailabilityZones :: Lens' ElasticLoadBalancer [Text]
- elbDnsName :: Lens' ElasticLoadBalancer (Maybe Text)
- elbEc2InstanceIds :: Lens' ElasticLoadBalancer [Text]
- elbElasticLoadBalancerName :: Lens' ElasticLoadBalancer (Maybe Text)
- elbLayerId :: Lens' ElasticLoadBalancer (Maybe Text)
- elbRegion :: Lens' ElasticLoadBalancer (Maybe Text)
- elbStackId :: Lens' ElasticLoadBalancer (Maybe Text)
- elbSubnetIds :: Lens' ElasticLoadBalancer [Text]
- elbVpcId :: Lens' ElasticLoadBalancer (Maybe Text)
- data LifecycleEventConfiguration
- lifecycleEventConfiguration :: LifecycleEventConfiguration
- lecShutdown :: Lens' LifecycleEventConfiguration (Maybe ShutdownEventConfiguration)
- data RdsDbInstance
- rdsDbInstance :: RdsDbInstance
- rdiAddress :: Lens' RdsDbInstance (Maybe Text)
- rdiDbInstanceIdentifier :: Lens' RdsDbInstance (Maybe Text)
- rdiDbPassword :: Lens' RdsDbInstance (Maybe Text)
- rdiDbUser :: Lens' RdsDbInstance (Maybe Text)
- rdiEngine :: Lens' RdsDbInstance (Maybe Text)
- rdiMissingOnRds :: Lens' RdsDbInstance (Maybe Bool)
- rdiRdsDbInstanceArn :: Lens' RdsDbInstance (Maybe Text)
- rdiRegion :: Lens' RdsDbInstance (Maybe Text)
- rdiStackId :: Lens' RdsDbInstance (Maybe Text)
- data AppAttributesKeys
- data ServiceError'
- serviceError' :: ServiceError'
- seCreatedAt :: Lens' ServiceError' (Maybe Text)
- seInstanceId :: Lens' ServiceError' (Maybe Text)
- seMessage :: Lens' ServiceError' (Maybe Text)
- seServiceErrorId :: Lens' ServiceError' (Maybe Text)
- seStackId :: Lens' ServiceError' (Maybe Text)
- seType :: Lens' ServiceError' (Maybe Text)
- data StackSummary
- stackSummary :: StackSummary
- ssAppsCount :: Lens' StackSummary (Maybe Int)
- ssArn :: Lens' StackSummary (Maybe Text)
- ssInstancesCount :: Lens' StackSummary (Maybe InstancesCount)
- ssLayersCount :: Lens' StackSummary (Maybe Int)
- ssName :: Lens' StackSummary (Maybe Text)
- ssStackId :: Lens' StackSummary (Maybe Text)
- data StackAttributesKeys = Color
- data LoadBasedAutoScalingConfiguration
- loadBasedAutoScalingConfiguration :: LoadBasedAutoScalingConfiguration
- lbascDownScaling :: Lens' LoadBasedAutoScalingConfiguration (Maybe AutoScalingThresholds)
- lbascEnable :: Lens' LoadBasedAutoScalingConfiguration (Maybe Bool)
- lbascLayerId :: Lens' LoadBasedAutoScalingConfiguration (Maybe Text)
- lbascUpScaling :: Lens' LoadBasedAutoScalingConfiguration (Maybe AutoScalingThresholds)
- data SourceType
- data Volume
- volume :: Volume
- vAvailabilityZone :: Lens' Volume (Maybe Text)
- vDevice :: Lens' Volume (Maybe Text)
- vEc2VolumeId :: Lens' Volume (Maybe Text)
- vInstanceId :: Lens' Volume (Maybe Text)
- vIops :: Lens' Volume (Maybe Int)
- vMountPoint :: Lens' Volume (Maybe Text)
- vName :: Lens' Volume (Maybe Text)
- vRaidArrayId :: Lens' Volume (Maybe Text)
- vRegion :: Lens' Volume (Maybe Text)
- vSize :: Lens' Volume (Maybe Int)
- vStatus :: Lens' Volume (Maybe Text)
- vVolumeId :: Lens' Volume (Maybe Text)
- vVolumeType :: Lens' Volume (Maybe Text)
- data ChefConfiguration
- chefConfiguration :: ChefConfiguration
- ccBerkshelfVersion :: Lens' ChefConfiguration (Maybe Text)
- ccManageBerkshelf :: Lens' ChefConfiguration (Maybe Bool)
- data LayerType
- data AutoScalingThresholds
- autoScalingThresholds :: AutoScalingThresholds
- astCpuThreshold :: Lens' AutoScalingThresholds (Maybe Double)
- astIgnoreMetricsTime :: Lens' AutoScalingThresholds (Maybe Natural)
- astInstanceCount :: Lens' AutoScalingThresholds (Maybe Int)
- astLoadThreshold :: Lens' AutoScalingThresholds (Maybe Double)
- astMemoryThreshold :: Lens' AutoScalingThresholds (Maybe Double)
- astThresholdsWaitTime :: Lens' AutoScalingThresholds (Maybe Natural)
- data App
- app :: App
- appAppId :: Lens' App (Maybe Text)
- appAppSource :: Lens' App (Maybe Source)
- appAttributes :: Lens' App (HashMap AppAttributesKeys Text)
- appCreatedAt :: Lens' App (Maybe Text)
- appDataSources :: Lens' App [DataSource]
- appDescription :: Lens' App (Maybe Text)
- appDomains :: Lens' App [Text]
- appEnableSsl :: Lens' App (Maybe Bool)
- appEnvironment :: Lens' App [EnvironmentVariable]
- appName :: Lens' App (Maybe Text)
- appShortname :: Lens' App (Maybe Text)
- appSslConfiguration :: Lens' App (Maybe SslConfiguration)
- appStackId :: Lens' App (Maybe Text)
- appType :: Lens' App (Maybe AppType)
- data ElasticIp
- elasticIp :: ElasticIp
- eiDomain :: Lens' ElasticIp (Maybe Text)
- eiInstanceId :: Lens' ElasticIp (Maybe Text)
- eiIp :: Lens' ElasticIp (Maybe Text)
- eiName :: Lens' ElasticIp (Maybe Text)
- eiRegion :: Lens' ElasticIp (Maybe Text)
- data ShutdownEventConfiguration
- shutdownEventConfiguration :: ShutdownEventConfiguration
- secDelayUntilElbConnectionsDrained :: Lens' ShutdownEventConfiguration (Maybe Bool)
- secExecutionTimeout :: Lens' ShutdownEventConfiguration (Maybe Int)
- data InstanceIdentity
- instanceIdentity :: InstanceIdentity
- iiDocument :: Lens' InstanceIdentity (Maybe Text)
- iiSignature :: Lens' InstanceIdentity (Maybe Text)
- data UserProfile
- userProfile :: UserProfile
- upAllowSelfManagement :: Lens' UserProfile (Maybe Bool)
- upIamUserArn :: Lens' UserProfile (Maybe Text)
- upName :: Lens' UserProfile (Maybe Text)
- upSshPublicKey :: Lens' UserProfile (Maybe Text)
- upSshUsername :: Lens' UserProfile (Maybe Text)
- data AutoScalingType
- data Source
- source :: Source
- sPassword :: Lens' Source (Maybe Text)
- sRevision :: Lens' Source (Maybe Text)
- sSshKey :: Lens' Source (Maybe Text)
- sType :: Lens' Source (Maybe SourceType)
- sUrl :: Lens' Source (Maybe Text)
- sUsername :: Lens' Source (Maybe Text)
- data DataSource
- dataSource :: DataSource
- dsArn :: Lens' DataSource (Maybe Text)
- dsDatabaseName :: Lens' DataSource (Maybe Text)
- dsType :: Lens' DataSource (Maybe Text)
- data Architecture
- data StackConfigurationManager
- stackConfigurationManager :: StackConfigurationManager
- scmName :: Lens' StackConfigurationManager (Maybe Text)
- scmVersion :: Lens' StackConfigurationManager (Maybe Text)
- data LayerAttributesKeys
- = BundlerVersion
- | EnableHaproxyStats
- | GangliaPassword
- | GangliaUrl
- | GangliaUser
- | HaproxyHealthCheckMethod
- | HaproxyHealthCheckUrl
- | HaproxyStatsPassword
- | HaproxyStatsUrl
- | HaproxyStatsUser
- | JavaAppServer
- | JavaAppServerVersion
- | Jvm
- | JvmOptions
- | JvmVersion
- | ManageBundler
- | MemcachedMemory
- | MysqlRootPassword
- | MysqlRootPasswordUbiquitous
- | NodejsVersion
- | PassengerVersion
- | RailsStack
- | RubyVersion
- | RubygemsVersion
- data VolumeConfiguration
- volumeConfiguration :: Text -> Int -> Int -> VolumeConfiguration
- vcIops :: Lens' VolumeConfiguration (Maybe Int)
- vcMountPoint :: Lens' VolumeConfiguration Text
- vcNumberOfDisks :: Lens' VolumeConfiguration Int
- vcRaidLevel :: Lens' VolumeConfiguration (Maybe Int)
- vcSize :: Lens' VolumeConfiguration Int
- vcVolumeType :: Lens' VolumeConfiguration (Maybe Text)
- data ReportedOs
- reportedOs :: ReportedOs
- roFamily :: Lens' ReportedOs (Maybe Text)
- roName :: Lens' ReportedOs (Maybe Text)
- roVersion :: Lens' ReportedOs (Maybe Text)
- data Permission
- permission :: Permission
- pAllowSsh :: Lens' Permission (Maybe Bool)
- pAllowSudo :: Lens' Permission (Maybe Bool)
- pIamUserArn :: Lens' Permission (Maybe Text)
- pLevel :: Lens' Permission (Maybe Text)
- pStackId :: Lens' Permission (Maybe Text)
- data EnvironmentVariable
- environmentVariable :: Text -> Text -> EnvironmentVariable
- evKey :: Lens' EnvironmentVariable Text
- evSecure :: Lens' EnvironmentVariable (Maybe Bool)
- evValue :: Lens' EnvironmentVariable Text
- data Layer
- layer :: Layer
- lAttributes :: Lens' Layer (HashMap LayerAttributesKeys Text)
- lAutoAssignElasticIps :: Lens' Layer (Maybe Bool)
- lAutoAssignPublicIps :: Lens' Layer (Maybe Bool)
- lCreatedAt :: Lens' Layer (Maybe Text)
- lCustomInstanceProfileArn :: Lens' Layer (Maybe Text)
- lCustomRecipes :: Lens' Layer (Maybe Recipes)
- lCustomSecurityGroupIds :: Lens' Layer [Text]
- lDefaultRecipes :: Lens' Layer (Maybe Recipes)
- lDefaultSecurityGroupNames :: Lens' Layer [Text]
- lEnableAutoHealing :: Lens' Layer (Maybe Bool)
- lInstallUpdatesOnBoot :: Lens' Layer (Maybe Bool)
- lLayerId :: Lens' Layer (Maybe Text)
- lLifecycleEventConfiguration :: Lens' Layer (Maybe LifecycleEventConfiguration)
- lName :: Lens' Layer (Maybe Text)
- lPackages :: Lens' Layer [Text]
- lShortname :: Lens' Layer (Maybe Text)
- lStackId :: Lens' Layer (Maybe Text)
- lType :: Lens' Layer (Maybe LayerType)
- lUseEbsOptimizedInstances :: Lens' Layer (Maybe Bool)
- lVolumeConfigurations :: Lens' Layer [VolumeConfiguration]
- data Recipes
- recipes :: Recipes
- rConfigure :: Lens' Recipes [Text]
- rDeploy :: Lens' Recipes [Text]
- rSetup :: Lens' Recipes [Text]
- rShutdown :: Lens' Recipes [Text]
- rUndeploy :: Lens' Recipes [Text]
- data TimeBasedAutoScalingConfiguration
- timeBasedAutoScalingConfiguration :: TimeBasedAutoScalingConfiguration
- tbascAutoScalingSchedule :: Lens' TimeBasedAutoScalingConfiguration (Maybe WeeklyAutoScalingSchedule)
- tbascInstanceId :: Lens' TimeBasedAutoScalingConfiguration (Maybe Text)
- data SelfUserProfile
- selfUserProfile :: SelfUserProfile
- supIamUserArn :: Lens' SelfUserProfile (Maybe Text)
- supName :: Lens' SelfUserProfile (Maybe Text)
- supSshPublicKey :: Lens' SelfUserProfile (Maybe Text)
- supSshUsername :: Lens' SelfUserProfile (Maybe Text)
- data RootDeviceType
- = Ebs
- | InstanceStore
- data Stack
- stack :: Stack
- sArn :: Lens' Stack (Maybe Text)
- sAttributes :: Lens' Stack (HashMap StackAttributesKeys Text)
- sChefConfiguration :: Lens' Stack (Maybe ChefConfiguration)
- sConfigurationManager :: Lens' Stack (Maybe StackConfigurationManager)
- sCreatedAt :: Lens' Stack (Maybe Text)
- sCustomCookbooksSource :: Lens' Stack (Maybe Source)
- sCustomJson :: Lens' Stack (Maybe Text)
- sDefaultAvailabilityZone :: Lens' Stack (Maybe Text)
- sDefaultInstanceProfileArn :: Lens' Stack (Maybe Text)
- sDefaultOs :: Lens' Stack (Maybe Text)
- sDefaultRootDeviceType :: Lens' Stack (Maybe RootDeviceType)
- sDefaultSshKeyName :: Lens' Stack (Maybe Text)
- sDefaultSubnetId :: Lens' Stack (Maybe Text)
- sHostnameTheme :: Lens' Stack (Maybe Text)
- sName :: Lens' Stack (Maybe Text)
- sRegion :: Lens' Stack (Maybe Text)
- sServiceRoleArn :: Lens' Stack (Maybe Text)
- sStackId :: Lens' Stack (Maybe Text)
- sUseCustomCookbooks :: Lens' Stack (Maybe Bool)
- sUseOpsworksSecurityGroups :: Lens' Stack (Maybe Bool)
- sVpcId :: Lens' Stack (Maybe Text)
- data DeploymentCommand
- deploymentCommand :: DeploymentCommandName -> DeploymentCommand
- dcArgs :: Lens' DeploymentCommand (HashMap Text [Text])
- dcName :: Lens' DeploymentCommand DeploymentCommandName
- data WeeklyAutoScalingSchedule
- weeklyAutoScalingSchedule :: WeeklyAutoScalingSchedule
- wassFriday :: Lens' WeeklyAutoScalingSchedule (HashMap Text Text)
- wassMonday :: Lens' WeeklyAutoScalingSchedule (HashMap Text Text)
- wassSaturday :: Lens' WeeklyAutoScalingSchedule (HashMap Text Text)
- wassSunday :: Lens' WeeklyAutoScalingSchedule (HashMap Text Text)
- wassThursday :: Lens' WeeklyAutoScalingSchedule (HashMap Text Text)
- wassTuesday :: Lens' WeeklyAutoScalingSchedule (HashMap Text Text)
- wassWednesday :: Lens' WeeklyAutoScalingSchedule (HashMap Text Text)
- data DeploymentCommandName
- data Instance
- instance' :: Instance
- iAmiId :: Lens' Instance (Maybe Text)
- iArchitecture :: Lens' Instance (Maybe Architecture)
- iAutoScalingType :: Lens' Instance (Maybe AutoScalingType)
- iAvailabilityZone :: Lens' Instance (Maybe Text)
- iCreatedAt :: Lens' Instance (Maybe Text)
- iEbsOptimized :: Lens' Instance (Maybe Bool)
- iEc2InstanceId :: Lens' Instance (Maybe Text)
- iElasticIp :: Lens' Instance (Maybe Text)
- iHostname :: Lens' Instance (Maybe Text)
- iInfrastructureClass :: Lens' Instance (Maybe Text)
- iInstallUpdatesOnBoot :: Lens' Instance (Maybe Bool)
- iInstanceId :: Lens' Instance (Maybe Text)
- iInstanceProfileArn :: Lens' Instance (Maybe Text)
- iInstanceType :: Lens' Instance (Maybe Text)
- iLastServiceErrorId :: Lens' Instance (Maybe Text)
- iLayerIds :: Lens' Instance [Text]
- iOs :: Lens' Instance (Maybe Text)
- iPrivateDns :: Lens' Instance (Maybe Text)
- iPrivateIp :: Lens' Instance (Maybe Text)
- iPublicDns :: Lens' Instance (Maybe Text)
- iPublicIp :: Lens' Instance (Maybe Text)
- iRegisteredBy :: Lens' Instance (Maybe Text)
- iReportedOs :: Lens' Instance (Maybe ReportedOs)
- iRootDeviceType :: Lens' Instance (Maybe RootDeviceType)
- iRootDeviceVolumeId :: Lens' Instance (Maybe Text)
- iSecurityGroupIds :: Lens' Instance [Text]
- iSshHostDsaKeyFingerprint :: Lens' Instance (Maybe Text)
- iSshHostRsaKeyFingerprint :: Lens' Instance (Maybe Text)
- iSshKeyName :: Lens' Instance (Maybe Text)
- iStackId :: Lens' Instance (Maybe Text)
- iStatus :: Lens' Instance (Maybe Text)
- iSubnetId :: Lens' Instance (Maybe Text)
- iVirtualizationType :: Lens' Instance (Maybe VirtualizationType)
- data Deployment
- deployment :: Deployment
- dAppId :: Lens' Deployment (Maybe Text)
- dCommand :: Lens' Deployment (Maybe DeploymentCommand)
- dComment :: Lens' Deployment (Maybe Text)
- dCompletedAt :: Lens' Deployment (Maybe Text)
- dCreatedAt :: Lens' Deployment (Maybe Text)
- dCustomJson :: Lens' Deployment (Maybe Text)
- dDeploymentId :: Lens' Deployment (Maybe Text)
- dDuration :: Lens' Deployment (Maybe Int)
- dIamUserArn :: Lens' Deployment (Maybe Text)
- dInstanceIds :: Lens' Deployment [Text]
- dStackId :: Lens' Deployment (Maybe Text)
- dStatus :: Lens' Deployment (Maybe Text)
- data InstancesCount
- instancesCount :: InstancesCount
- icAssigning :: Lens' InstancesCount (Maybe Int)
- icBooting :: Lens' InstancesCount (Maybe Int)
- icConnectionLost :: Lens' InstancesCount (Maybe Int)
- icDeregistering :: Lens' InstancesCount (Maybe Int)
- icOnline :: Lens' InstancesCount (Maybe Int)
- icPending :: Lens' InstancesCount (Maybe Int)
- icRebooting :: Lens' InstancesCount (Maybe Int)
- icRegistered :: Lens' InstancesCount (Maybe Int)
- icRegistering :: Lens' InstancesCount (Maybe Int)
- icRequested :: Lens' InstancesCount (Maybe Int)
- icRunningSetup :: Lens' InstancesCount (Maybe Int)
- icSetupFailed :: Lens' InstancesCount (Maybe Int)
- icShuttingDown :: Lens' InstancesCount (Maybe Int)
- icStartFailed :: Lens' InstancesCount (Maybe Int)
- icStopped :: Lens' InstancesCount (Maybe Int)
- icStopping :: Lens' InstancesCount (Maybe Int)
- icTerminated :: Lens' InstancesCount (Maybe Int)
- icTerminating :: Lens' InstancesCount (Maybe Int)
- icUnassigning :: Lens' InstancesCount (Maybe Int)
- data AppType
Service
Version 2013-02-18 of the Amazon OpsWorks service.
Error
data JSONError :: *
SslConfiguration
data SslConfiguration Source
Arguments
| :: Text | |
| -> Text | |
| -> SslConfiguration |
SslConfiguration constructor.
The fields accessible through corresponding lenses are:
scCertificate::TextscChain::MaybeTextscPrivateKey::Text
scCertificate :: Lens' SslConfiguration Text Source
The contents of the certificate's domain.crt file.
scChain :: Lens' SslConfiguration (Maybe Text) Source
Optional. Can be used to specify an intermediate certificate authority key or client authentication.
scPrivateKey :: Lens' SslConfiguration Text Source
The private key; the contents of the certificate's domain.kex file.
VirtualizationType
data VirtualizationType Source
Constructors
| Hvm | hvm |
| Paravirtual | paravirtual |
Instances
Command
Command constructor.
The fields accessible through corresponding lenses are:
cAcknowledgedAt::MaybeTextcCommandId::MaybeTextcCompletedAt::MaybeTextcCreatedAt::MaybeTextcDeploymentId::MaybeTextcExitCode::MaybeIntcInstanceId::MaybeTextcLogUrl::MaybeTextcStatus::MaybeTextcType::MaybeText
cAcknowledgedAt :: Lens' Command (Maybe Text) Source
Date and time when the command was acknowledged.
cInstanceId :: Lens' Command (Maybe Text) Source
The ID of the instance where the command was executed.
cType :: Lens' Command (Maybe Text) Source
The command type:
deploy rollback start stop restart undeploy update_dependencies install_dependencies update_custom_cookbooks execute_recipes
RaidArray
RaidArray constructor.
The fields accessible through corresponding lenses are:
raAvailabilityZone::MaybeTextraCreatedAt::MaybeTextraDevice::MaybeTextraInstanceId::MaybeTextraIops::MaybeIntraMountPoint::MaybeTextraName::MaybeTextraNumberOfDisks::MaybeIntraRaidArrayId::MaybeTextraRaidLevel::MaybeIntraSize::MaybeIntraStackId::MaybeTextraVolumeType::MaybeText
raAvailabilityZone :: Lens' RaidArray (Maybe Text) Source
The array's Availability Zone. For more information, see Regions and Endpoints .
raRaidLevel :: Lens' RaidArray (Maybe Int) Source
The RAID level.
ElasticLoadBalancer
elasticLoadBalancer :: ElasticLoadBalancer Source
ElasticLoadBalancer constructor.
The fields accessible through corresponding lenses are:
elbAvailabilityZones::[Text]elbDnsName::MaybeTextelbEc2InstanceIds::[Text]elbElasticLoadBalancerName::MaybeTextelbLayerId::MaybeTextelbRegion::MaybeTextelbStackId::MaybeTextelbSubnetIds::[Text]elbVpcId::MaybeText
elbAvailabilityZones :: Lens' ElasticLoadBalancer [Text] Source
A list of Availability Zones.
elbDnsName :: Lens' ElasticLoadBalancer (Maybe Text) Source
The instance's public DNS name.
elbEc2InstanceIds :: Lens' ElasticLoadBalancer [Text] Source
A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.
elbElasticLoadBalancerName :: Lens' ElasticLoadBalancer (Maybe Text) Source
The Elastic Load Balancing instance's name.
elbLayerId :: Lens' ElasticLoadBalancer (Maybe Text) Source
The ID of the layer that the instance is attached to.
elbStackId :: Lens' ElasticLoadBalancer (Maybe Text) Source
The ID of the stack that the instance is associated with.
elbSubnetIds :: Lens' ElasticLoadBalancer [Text] Source
A list of subnet IDs, if the stack is running in a VPC.
LifecycleEventConfiguration
lifecycleEventConfiguration :: LifecycleEventConfiguration Source
LifecycleEventConfiguration constructor.
The fields accessible through corresponding lenses are:
lecShutdown :: Lens' LifecycleEventConfiguration (Maybe ShutdownEventConfiguration) Source
A ShutdownEventConfiguration object that specifies the Shutdown event
configuration.
RdsDbInstance
data RdsDbInstance Source
rdsDbInstance :: RdsDbInstance Source
RdsDbInstance constructor.
The fields accessible through corresponding lenses are:
rdiAddress :: Lens' RdsDbInstance (Maybe Text) Source
The instance's address.
rdiDbInstanceIdentifier :: Lens' RdsDbInstance (Maybe Text) Source
The DB instance identifier.
rdiDbPassword :: Lens' RdsDbInstance (Maybe Text) Source
The database password.
rdiMissingOnRds :: Lens' RdsDbInstance (Maybe Bool) Source
Set to true if AWS OpsWorks was unable to discover the Amazon RDS instance.
AWS OpsWorks attempts to discover the instance only once. If this value is
set to true, you must deregister the instance and then register it again.
rdiRdsDbInstanceArn :: Lens' RdsDbInstance (Maybe Text) Source
The instance's ARN.
rdiStackId :: Lens' RdsDbInstance (Maybe Text) Source
The ID of the stack that the instance is registered with.
AppAttributesKeys
data AppAttributesKeys Source
Constructors
| AutoBundleOnDeploy | AutoBundleOnDeploy |
| DocumentRoot | DocumentRoot |
| RailsEnv | RailsEnv |
Instances
ServiceError'
data ServiceError' Source
serviceError' :: ServiceError' Source
ServiceError' constructor.
The fields accessible through corresponding lenses are:
seCreatedAt :: Lens' ServiceError' (Maybe Text) Source
When the error occurred.
seInstanceId :: Lens' ServiceError' (Maybe Text) Source
The instance ID.
seServiceErrorId :: Lens' ServiceError' (Maybe Text) Source
The error ID.
StackSummary
data StackSummary Source
stackSummary :: StackSummary Source
StackSummary constructor.
The fields accessible through corresponding lenses are:
ssAppsCount :: Lens' StackSummary (Maybe Int) Source
The number of apps.
ssInstancesCount :: Lens' StackSummary (Maybe InstancesCount) Source
An InstancesCount object with the number of instances in each status.
ssLayersCount :: Lens' StackSummary (Maybe Int) Source
The number of layers.
StackAttributesKeys
data StackAttributesKeys Source
Constructors
| Color | Color |
Instances
LoadBasedAutoScalingConfiguration
loadBasedAutoScalingConfiguration :: LoadBasedAutoScalingConfiguration Source
LoadBasedAutoScalingConfiguration constructor.
The fields accessible through corresponding lenses are:
lbascDownScaling :: Lens' LoadBasedAutoScalingConfiguration (Maybe AutoScalingThresholds) Source
An AutoScalingThresholds object that describes the downscaling configuration,
which defines how and when AWS OpsWorks reduces the number of instances.
lbascEnable :: Lens' LoadBasedAutoScalingConfiguration (Maybe Bool) Source
Whether load-based auto scaling is enabled for the layer.
lbascLayerId :: Lens' LoadBasedAutoScalingConfiguration (Maybe Text) Source
The layer ID.
lbascUpScaling :: Lens' LoadBasedAutoScalingConfiguration (Maybe AutoScalingThresholds) Source
An AutoScalingThresholds object that describes the upscaling configuration,
which defines how and when AWS OpsWorks increases the number of instances.
SourceType
data SourceType Source
Volume
Volume constructor.
The fields accessible through corresponding lenses are:
vAvailabilityZone :: Lens' Volume (Maybe Text) Source
The volume Availability Zone. For more information, see Regions and Endpoints.
vRegion :: Lens' Volume (Maybe Text) Source
The AWS region. For more information about AWS regions, see Regions andEndpoints.
ChefConfiguration
data ChefConfiguration Source
chefConfiguration :: ChefConfiguration Source
ChefConfiguration constructor.
The fields accessible through corresponding lenses are:
ccBerkshelfVersion :: Lens' ChefConfiguration (Maybe Text) Source
The Berkshelf version.
ccManageBerkshelf :: Lens' ChefConfiguration (Maybe Bool) Source
Whether to enable Berkshelf.
LayerType
AutoScalingThresholds
autoScalingThresholds :: AutoScalingThresholds Source
AutoScalingThresholds constructor.
The fields accessible through corresponding lenses are:
astCpuThreshold :: Lens' AutoScalingThresholds (Maybe Double) Source
The CPU utilization threshold, as a percent of the available CPU.
astIgnoreMetricsTime :: Lens' AutoScalingThresholds (Maybe Natural) Source
The amount of time (in minutes) after a scaling event occurs that AWS
OpsWorks should ignore metrics and not raise any additional scaling events.
For example, AWS OpsWorks adds new instances following an upscaling event but
the instances won't start reducing the load until they have been booted and
configured. There is no point in raising additional scaling events during
that operation, which typically takes several minutes. IgnoreMetricsTime
allows you to direct AWS OpsWorks to not raise any scaling events long enough
to get the new instances online.
astInstanceCount :: Lens' AutoScalingThresholds (Maybe Int) Source
The number of instances to add or remove when the load exceeds a threshold.
astLoadThreshold :: Lens' AutoScalingThresholds (Maybe Double) Source
The load threshold. For more information about how load is computed, see Load(computing).
astMemoryThreshold :: Lens' AutoScalingThresholds (Maybe Double) Source
The memory utilization threshold, as a percent of the available memory.
astThresholdsWaitTime :: Lens' AutoScalingThresholds (Maybe Natural) Source
The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.
App
App constructor.
The fields accessible through corresponding lenses are:
appAppId::MaybeTextappAppSource::MaybeSourceappAttributes::HashMapAppAttributesKeysTextappCreatedAt::MaybeTextappDataSources::[DataSource]appDescription::MaybeTextappDomains::[Text]appEnableSsl::MaybeBoolappEnvironment::[EnvironmentVariable]appName::MaybeTextappShortname::MaybeTextappSslConfiguration::MaybeSslConfigurationappStackId::MaybeTextappType::MaybeAppType
appAttributes :: Lens' App (HashMap AppAttributesKeys Text) Source
The stack attributes.
appDataSources :: Lens' App [DataSource] Source
The app's data sources.
appDomains :: Lens' App [Text] Source
The app vhost settings with multiple domains separated by commas. For example: ''www.example.com, example.com''
appEnvironment :: Lens' App [EnvironmentVariable] Source
An array of EnvironmentVariable objects that specify environment variables to
be associated with the app. You can specify up to ten environment variables.
After you deploy the app, these variables are defined on the associated app
server instances.
appSslConfiguration :: Lens' App (Maybe SslConfiguration) Source
An SslConfiguration object with the SSL configuration.
ElasticIp
eiInstanceId :: Lens' ElasticIp (Maybe Text) Source
The ID of the instance that the address is attached to.
eiRegion :: Lens' ElasticIp (Maybe Text) Source
The AWS region. For more information, see Regions and Endpoints.
ShutdownEventConfiguration
shutdownEventConfiguration :: ShutdownEventConfiguration Source
ShutdownEventConfiguration constructor.
The fields accessible through corresponding lenses are:
secDelayUntilElbConnectionsDrained :: Lens' ShutdownEventConfiguration (Maybe Bool) Source
Whether to enable Elastic Load Balancing connection draining. For more information, see Connection Draining
secExecutionTimeout :: Lens' ShutdownEventConfiguration (Maybe Int) Source
The time, in seconds, that AWS OpsWorks will wait after triggering a Shutdown event before shutting down an instance.
InstanceIdentity
data InstanceIdentity Source
instanceIdentity :: InstanceIdentity Source
InstanceIdentity constructor.
The fields accessible through corresponding lenses are:
iiDocument::MaybeTextiiSignature::MaybeText
iiDocument :: Lens' InstanceIdentity (Maybe Text) Source
A JSON document that contains the metadata.
iiSignature :: Lens' InstanceIdentity (Maybe Text) Source
A signature that can be used to verify the document's accuracy and authenticity.
UserProfile
data UserProfile Source
userProfile :: UserProfile Source
UserProfile constructor.
The fields accessible through corresponding lenses are:
upAllowSelfManagement :: Lens' UserProfile (Maybe Bool) Source
Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.
upIamUserArn :: Lens' UserProfile (Maybe Text) Source
The user's IAM ARN.
upSshPublicKey :: Lens' UserProfile (Maybe Text) Source
The user's SSH public key.
upSshUsername :: Lens' UserProfile (Maybe Text) Source
The user's SSH user name.
AutoScalingType
data AutoScalingType Source
Instances
Source
sPassword :: Lens' Source (Maybe Text) Source
This parameter depends on the repository type.
For Amazon S3 bundles, set Password to the appropriate IAM secret access
key. For HTTP bundles and Subversion repositories, set Password to the
password. For more information on how to safely handle IAM credentials, see http://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html.
sRevision :: Lens' Source (Maybe Text) Source
The application's version. AWS OpsWorks enables you to easily deploy new versions of an application. One of the simplest approaches is to have branches or revisions in your repository that represent different versions that can potentially be deployed.
sUsername :: Lens' Source (Maybe Text) Source
This parameter depends on the repository type.
For Amazon S3 bundles, set Username to the appropriate IAM access key ID. For HTTP bundles, Git repositories, and Subversion repositories, set
Username to the user name.
DataSource
data DataSource Source
dataSource :: DataSource Source
DataSource constructor.
The fields accessible through corresponding lenses are:
dsDatabaseName :: Lens' DataSource (Maybe Text) Source
The database name.
dsType :: Lens' DataSource (Maybe Text) Source
The data source's type, AutoSelectOpsworksMysqlInstance, OpsworksMysqlInstance
, or RdsDbInstance.
Architecture
data Architecture Source
StackConfigurationManager
stackConfigurationManager :: StackConfigurationManager Source
StackConfigurationManager constructor.
The fields accessible through corresponding lenses are:
scmName :: Lens' StackConfigurationManager (Maybe Text) Source
The name. This parameter must be set to Chef.
scmVersion :: Lens' StackConfigurationManager (Maybe Text) Source
The Chef version. This parameter must be set to 0.9, 11.4, or 11.10. The default value is 11.4.
LayerAttributesKeys
data LayerAttributesKeys Source
Constructors
| BundlerVersion | BundlerVersion |
| EnableHaproxyStats | EnableHaproxyStats |
| GangliaPassword | GangliaPassword |
| GangliaUrl | GangliaUrl |
| GangliaUser | GangliaUser |
| HaproxyHealthCheckMethod | HaproxyHealthCheckMethod |
| HaproxyHealthCheckUrl | HaproxyHealthCheckUrl |
| HaproxyStatsPassword | HaproxyStatsPassword |
| HaproxyStatsUrl | HaproxyStatsUrl |
| HaproxyStatsUser | HaproxyStatsUser |
| JavaAppServer | JavaAppServer |
| JavaAppServerVersion | JavaAppServerVersion |
| Jvm | Jvm |
| JvmOptions | JvmOptions |
| JvmVersion | JvmVersion |
| ManageBundler | ManageBundler |
| MemcachedMemory | MemcachedMemory |
| MysqlRootPassword | MysqlRootPassword |
| MysqlRootPasswordUbiquitous | MysqlRootPasswordUbiquitous |
| NodejsVersion | NodejsVersion |
| PassengerVersion | PassengerVersion |
| RailsStack | RailsStack |
| RubyVersion | RubyVersion |
| RubygemsVersion | RubygemsVersion |
Instances
VolumeConfiguration
Arguments
| :: Text | |
| -> Int | |
| -> Int | |
| -> VolumeConfiguration |
VolumeConfiguration constructor.
The fields accessible through corresponding lenses are:
vcIops::MaybeIntvcMountPoint::TextvcNumberOfDisks::IntvcRaidLevel::MaybeIntvcSize::IntvcVolumeType::MaybeText
vcMountPoint :: Lens' VolumeConfiguration Text Source
The volume mount point. For example "devsdh".
vcNumberOfDisks :: Lens' VolumeConfiguration Int Source
The number of disks in the volume.
vcRaidLevel :: Lens' VolumeConfiguration (Maybe Int) Source
The volume RAID level.
vcSize :: Lens' VolumeConfiguration Int Source
The volume size.
vcVolumeType :: Lens' VolumeConfiguration (Maybe Text) Source
The volume type:
standard - Magnetic io1 - Provisioned IOPS (SSD) gp2 - General Purpose
(SSD)
ReportedOs
data ReportedOs Source
Permission
data Permission Source
pAllowSudo :: Lens' Permission (Maybe Bool) Source
Whether the user can use sudo.
pIamUserArn :: Lens' Permission (Maybe Text) Source
The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role. For more information about IAM ARNs, see Using Identifiers.
pLevel :: Lens' Permission (Maybe Text) Source
The user's permission level, which must be the following:
deny show deploy manage iam_only For more information on the permissions
associated with these levels, see Managing User Permissions
EnvironmentVariable
Arguments
| :: Text | |
| -> Text | |
| -> EnvironmentVariable |
evKey :: Lens' EnvironmentVariable Text Source
(Required) The environment variable's name, which can consist of up to 64 characters and must be specified. The name can contain upper- and lowercase letters, numbers, and underscores (_), but it must start with a letter or underscore.
evSecure :: Lens' EnvironmentVariable (Maybe Bool) Source
(Optional) Whether the variable's value will be returned by the DescribeApps
action. To conceal an environment variable's value, set Secure to true. DescribeApps then returns '**Filtered**' instead of the actual value. The default value for Secure is false.
evValue :: Lens' EnvironmentVariable Text Source
(Optional) The environment variable's value, which can be left empty. If you specify a value, it can contain up to 256 characters, which must all be printable.
Layer
Layer constructor.
The fields accessible through corresponding lenses are:
lAttributes::HashMapLayerAttributesKeysTextlAutoAssignElasticIps::MaybeBoollAutoAssignPublicIps::MaybeBoollCreatedAt::MaybeTextlCustomInstanceProfileArn::MaybeTextlCustomRecipes::MaybeRecipeslCustomSecurityGroupIds::[Text]lDefaultRecipes::MaybeRecipeslDefaultSecurityGroupNames::[Text]lEnableAutoHealing::MaybeBoollInstallUpdatesOnBoot::MaybeBoollLayerId::MaybeTextlLifecycleEventConfiguration::MaybeLifecycleEventConfigurationlName::MaybeTextlPackages::[Text]lShortname::MaybeTextlStackId::MaybeTextlType::MaybeLayerTypelUseEbsOptimizedInstances::MaybeBoollVolumeConfigurations::[VolumeConfiguration]
lAttributes :: Lens' Layer (HashMap LayerAttributesKeys Text) Source
The layer attributes.
lAutoAssignElasticIps :: Lens' Layer (Maybe Bool) Source
Whether to automatically assign an Elastic IP address to the layer's instances. For more information, see How to Edit a Layer.
lAutoAssignPublicIps :: Lens' Layer (Maybe Bool) Source
For stacks that are running in a VPC, whether to automatically assign a public IP address to the layer's instances. For more information, see How toEdit a Layer.
lCustomInstanceProfileArn :: Lens' Layer (Maybe Text) Source
The ARN of the default IAM profile to be used for the layer's EC2 instances. For more information about IAM ARNs, see Using Identifiers.
lCustomRecipes :: Lens' Layer (Maybe Recipes) Source
A LayerCustomRecipes object that specifies the layer's custom recipes.
lCustomSecurityGroupIds :: Lens' Layer [Text] Source
An array containing the layer's custom security group IDs.
lDefaultSecurityGroupNames :: Lens' Layer [Text] Source
An array containing the layer's security group names.
lEnableAutoHealing :: Lens' Layer (Maybe Bool) Source
Whether auto healing is disabled for the layer.
lInstallUpdatesOnBoot :: Lens' Layer (Maybe Bool) Source
Whether to install operating system and package updates when the instance
boots. The default value is true. If this value is set to false, you must
then update your instances manually by using CreateDeployment to run the update_dependencies stack command or manually running yum (Amazon Linux) or 'apt-get' (Ubuntu) on
the instances.
We strongly recommend using the default value of true, to ensure that your
instances have the latest security updates.
lLifecycleEventConfiguration :: Lens' Layer (Maybe LifecycleEventConfiguration) Source
A LifeCycleEventConfiguration object that specifies the Shutdown event
configuration.
lPackages :: Lens' Layer [Text] Source
An array of Package objects that describe the layer's packages.
lUseEbsOptimizedInstances :: Lens' Layer (Maybe Bool) Source
Whether the layer uses Amazon EBS-optimized instances.
lVolumeConfigurations :: Lens' Layer [VolumeConfiguration] Source
A VolumeConfigurations object that describes the layer's Amazon EBS volumes.
Recipes
rConfigure :: Lens' Recipes [Text] Source
An array of custom recipe names to be run following a configure event.
rDeploy :: Lens' Recipes [Text] Source
An array of custom recipe names to be run following a deploy event.
rSetup :: Lens' Recipes [Text] Source
An array of custom recipe names to be run following a setup event.
rShutdown :: Lens' Recipes [Text] Source
An array of custom recipe names to be run following a shutdown event.
rUndeploy :: Lens' Recipes [Text] Source
An array of custom recipe names to be run following a undeploy event.
TimeBasedAutoScalingConfiguration
timeBasedAutoScalingConfiguration :: TimeBasedAutoScalingConfiguration Source
TimeBasedAutoScalingConfiguration constructor.
The fields accessible through corresponding lenses are:
tbascAutoScalingSchedule :: Lens' TimeBasedAutoScalingConfiguration (Maybe WeeklyAutoScalingSchedule) Source
A WeeklyAutoScalingSchedule object with the instance schedule.
tbascInstanceId :: Lens' TimeBasedAutoScalingConfiguration (Maybe Text) Source
The instance ID.
SelfUserProfile
data SelfUserProfile Source
selfUserProfile :: SelfUserProfile Source
SelfUserProfile constructor.
The fields accessible through corresponding lenses are:
supIamUserArn :: Lens' SelfUserProfile (Maybe Text) Source
The user's IAM ARN.
supSshPublicKey :: Lens' SelfUserProfile (Maybe Text) Source
The user's SSH public key.
supSshUsername :: Lens' SelfUserProfile (Maybe Text) Source
The user's SSH user name.
RootDeviceType
data RootDeviceType Source
Constructors
| Ebs | ebs |
| InstanceStore | instance-store |
Instances
Stack
Stack constructor.
The fields accessible through corresponding lenses are:
sArn::MaybeTextsAttributes::HashMapStackAttributesKeysTextsChefConfiguration::MaybeChefConfigurationsConfigurationManager::MaybeStackConfigurationManagersCreatedAt::MaybeTextsCustomCookbooksSource::MaybeSourcesCustomJson::MaybeTextsDefaultAvailabilityZone::MaybeTextsDefaultInstanceProfileArn::MaybeTextsDefaultOs::MaybeTextsDefaultRootDeviceType::MaybeRootDeviceTypesDefaultSshKeyName::MaybeTextsDefaultSubnetId::MaybeTextsHostnameTheme::MaybeTextsName::MaybeTextsRegion::MaybeTextsServiceRoleArn::MaybeTextsStackId::MaybeTextsUseCustomCookbooks::MaybeBoolsUseOpsworksSecurityGroups::MaybeBoolsVpcId::MaybeText
sAttributes :: Lens' Stack (HashMap StackAttributesKeys Text) Source
The stack's attributes.
sChefConfiguration :: Lens' Stack (Maybe ChefConfiguration) Source
A ChefConfiguration object that specifies whether to enable Berkshelf and the
Berkshelf version. For more information, see Create a New Stack.
sConfigurationManager :: Lens' Stack (Maybe StackConfigurationManager) Source
The configuration manager.
sCustomJson :: Lens' Stack (Maybe Text) Source
A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format and must escape characters such as '"'.:
'"{"key1": "value1", "key2": "value2",...}"'
For more information on custom JSON, see Use Custom JSON to Modify the StackConfiguration JSON.
sDefaultAvailabilityZone :: Lens' Stack (Maybe Text) Source
The stack's default Availability Zone. For more information, see Regions andEndpoints.
sDefaultInstanceProfileArn :: Lens' Stack (Maybe Text) Source
The ARN of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see Using Identifiers.
sDefaultRootDeviceType :: Lens' Stack (Maybe RootDeviceType) Source
The default root device type. This value is used by default for all instances in the stack, but you can override it when you create an instance. For more information, see Storage for the Root Device.
sDefaultSshKeyName :: Lens' Stack (Maybe Text) Source
A default SSH key for the stack's instances. You can override this value when you create or update an instance.
sDefaultSubnetId :: Lens' Stack (Maybe Text) Source
The default subnet ID, if the stack is running in a VPC.
sHostnameTheme :: Lens' Stack (Maybe Text) Source
The stack host name theme, with spaces replaced by underscores.
sRegion :: Lens' Stack (Maybe Text) Source
The stack AWS region, such as "us-east-1". For more information about AWS regions, see Regions and Endpoints.
sServiceRoleArn :: Lens' Stack (Maybe Text) Source
The stack AWS Identity and Access Management (IAM) role.
sUseOpsworksSecurityGroups :: Lens' Stack (Maybe Bool) Source
Whether the stack automatically associates the AWS OpsWorks built-in security groups with the stack's layers.
DeploymentCommand
data DeploymentCommand Source
Arguments
| :: DeploymentCommandName | |
| -> DeploymentCommand |
DeploymentCommand constructor.
The fields accessible through corresponding lenses are:
dcArgs :: Lens' DeploymentCommand (HashMap Text [Text]) Source
The arguments of those commands that take arguments. It should be set to a JSON object with the following format:
'{"arg_name1" : ["value1", "value2", ...], "arg_name2" : ["value1", "value2",...], ...}'
The update_dependencies command takes two arguments:
upgrade_os_to - Specifies the desired Amazon Linux version for instances
whose OS you want to upgrade, such as 'Amazon Linux 2014.09'. You must also set
the allow_reboot argument to true. allow_reboot - Specifies whether to allow
AWS OpsWorks to reboot the instances if necessary, after installing the
updates. This argument can be set to either true or false. The default value
is false. For example, to upgrade an instance to Amazon Linux 2014.09, set Args to the following.
' { "upgrade_os_to":["Amazon Linux 2014.09"], "allow_reboot":["true"] } '
dcName :: Lens' DeploymentCommand DeploymentCommandName Source
Specifies the operation. You can specify only one command.
For stacks, the following commands are available:
execute_recipes: Execute one or more recipes. To specify the recipes, set
an Args parameter named recipes to the list of recipes to be executed. For
example, to execute 'phpapp::appsetup', set Args to '{"recipes":["phpapp::appsetup"]}'. install_dependencies: Install the stack's dependencies. update_custom_cookbooks: Update the stack's custom cookbooks. update_dependencies: Update the
stack's dependencies. For apps, the following commands are available:
deploy: Deploy an app. Rails apps have an optional Args parameter named migrate. Set Args to {"migrate":["true"]} to migrate the database. The default
setting is {"migrate":["false"]}. rollback Roll the app back to the previous
version. When you update an app, AWS OpsWorks stores the previous version, up
to a maximum of five versions. You can use this command to roll an app back
as many as four versions. start: Start the app's web or application server. stop: Stop the app's web or application server. restart: Restart the app's
web or application server. undeploy: Undeploy the app.
WeeklyAutoScalingSchedule
weeklyAutoScalingSchedule :: WeeklyAutoScalingSchedule Source
WeeklyAutoScalingSchedule constructor.
The fields accessible through corresponding lenses are:
wassFriday :: Lens' WeeklyAutoScalingSchedule (HashMap Text Text) Source
The schedule for Friday.
wassMonday :: Lens' WeeklyAutoScalingSchedule (HashMap Text Text) Source
The schedule for Monday.
wassSaturday :: Lens' WeeklyAutoScalingSchedule (HashMap Text Text) Source
The schedule for Saturday.
wassSunday :: Lens' WeeklyAutoScalingSchedule (HashMap Text Text) Source
The schedule for Sunday.
wassThursday :: Lens' WeeklyAutoScalingSchedule (HashMap Text Text) Source
The schedule for Thursday.
wassTuesday :: Lens' WeeklyAutoScalingSchedule (HashMap Text Text) Source
The schedule for Tuesday.
wassWednesday :: Lens' WeeklyAutoScalingSchedule (HashMap Text Text) Source
The schedule for Wednesday.
DeploymentCommandName
data DeploymentCommandName Source
Constructors
| Deploy | deploy |
| ExecuteRecipes | execute_recipes |
| InstallDependencies | install_dependencies |
| Restart | restart |
| Rollback | rollback |
| Start | start |
| Stop | stop |
| Undeploy | undeploy |
| UpdateCustomCookbooks | update_custom_cookbooks |
| UpdateDependencies | update_dependencies |
Instances
Instance
Instance constructor.
The fields accessible through corresponding lenses are:
iAmiId::MaybeTextiArchitecture::MaybeArchitectureiAutoScalingType::MaybeAutoScalingTypeiAvailabilityZone::MaybeTextiCreatedAt::MaybeTextiEbsOptimized::MaybeBooliEc2InstanceId::MaybeTextiElasticIp::MaybeTextiHostname::MaybeTextiInfrastructureClass::MaybeTextiInstallUpdatesOnBoot::MaybeBooliInstanceId::MaybeTextiInstanceProfileArn::MaybeTextiInstanceType::MaybeTextiLastServiceErrorId::MaybeTextiLayerIds::[Text]iOs::MaybeTextiPrivateDns::MaybeTextiPrivateIp::MaybeTextiPublicDns::MaybeTextiPublicIp::MaybeTextiRegisteredBy::MaybeTextiReportedOs::MaybeReportedOsiRootDeviceType::MaybeRootDeviceTypeiRootDeviceVolumeId::MaybeTextiSecurityGroupIds::[Text]iSshHostDsaKeyFingerprint::MaybeTextiSshHostRsaKeyFingerprint::MaybeTextiSshKeyName::MaybeTextiStackId::MaybeTextiStatus::MaybeTextiSubnetId::MaybeTextiVirtualizationType::MaybeVirtualizationType
iAmiId :: Lens' Instance (Maybe Text) Source
A custom AMI ID to be used to create the instance. The AMI should be based on one of the standard AWS OpsWorks APIs: Amazon Linux, Ubuntu 12.04 LTS, or Ubuntu 14.04 LTS. For more information, see Instances
iArchitecture :: Lens' Instance (Maybe Architecture) Source
The instance architecture, "i386" or "x86_64".
iAutoScalingType :: Lens' Instance (Maybe AutoScalingType) Source
For load-based or time-based instances, the type.
iAvailabilityZone :: Lens' Instance (Maybe Text) Source
The instance Availability Zone. For more information, see Regions andEndpoints.
iEbsOptimized :: Lens' Instance (Maybe Bool) Source
Whether this is an Amazon EBS-optimized instance.
iElasticIp :: Lens' Instance (Maybe Text) Source
The instance Elastic IP address.
iInfrastructureClass :: Lens' Instance (Maybe Text) Source
For registered instances, the infrastructure class: ec2 or 'on-premises'
iInstallUpdatesOnBoot :: Lens' Instance (Maybe Bool) Source
Whether to install operating system and package updates when the instance
boots. The default value is true. If this value is set to false, you must
then update your instances manually by using CreateDeployment to run the update_dependencies stack command or manually running yum (Amazon Linux) or 'apt-get' (Ubuntu) on
the instances.
We strongly recommend using the default value of true, to ensure that your
instances have the latest security updates.
iInstanceProfileArn :: Lens' Instance (Maybe Text) Source
The ARN of the instance's IAM profile. For more information about IAM ARNs, see Using Identifiers.
iInstanceType :: Lens' Instance (Maybe Text) Source
The instance type. AWS OpsWorks supports all instance types except Cluster Compute, Cluster GPU, and High Memory Cluster. For more information, see Instance Families and Types. The parameter values that specify the various types are in the API Name column of the Available Instance Types table.
iLastServiceErrorId :: Lens' Instance (Maybe Text) Source
The ID of the last service error. For more information, call DescribeServiceErrors.
iRegisteredBy :: Lens' Instance (Maybe Text) Source
For registered instances, who performed the registration.
iReportedOs :: Lens' Instance (Maybe ReportedOs) Source
For registered instances, the reported operating system.
iRootDeviceType :: Lens' Instance (Maybe RootDeviceType) Source
The instance root device type. For more information, see Storage for the RootDevice.
iSecurityGroupIds :: Lens' Instance [Text] Source
An array containing the instance security group IDs.
iStatus :: Lens' Instance (Maybe Text) Source
The instance status:
booting connection_lost online pending rebooting requested running_setup setup_failed shutting_down start_failed stopped stopping terminated terminating
iSubnetId :: Lens' Instance (Maybe Text) Source
The instance's subnet ID, if the stack is running in a VPC.
iVirtualizationType :: Lens' Instance (Maybe VirtualizationType) Source
The instance's virtualization type, paravirtual or hvm.
Deployment
data Deployment Source
Instances
deployment :: Deployment Source
Deployment constructor.
The fields accessible through corresponding lenses are:
dAppId::MaybeTextdCommand::MaybeDeploymentCommanddComment::MaybeTextdCompletedAt::MaybeTextdCreatedAt::MaybeTextdCustomJson::MaybeTextdDeploymentId::MaybeTextdDuration::MaybeIntdIamUserArn::MaybeTextdInstanceIds::[Text]dStackId::MaybeTextdStatus::MaybeText
dCompletedAt :: Lens' Deployment (Maybe Text) Source
Date when the deployment completed.
dCreatedAt :: Lens' Deployment (Maybe Text) Source
Date when the deployment was created.
dCustomJson :: Lens' Deployment (Maybe Text) Source
A string that contains user-defined custom JSON. It is used to override the corresponding default stack configuration JSON values for stack. The string should be in the following format and must escape characters such as '"'.:
'"{"key1": "value1", "key2": "value2",...}"'
For more information on custom JSON, see Use Custom JSON to Modify the StackConfiguration JSON.
dDeploymentId :: Lens' Deployment (Maybe Text) Source
The deployment ID.
dIamUserArn :: Lens' Deployment (Maybe Text) Source
The user's IAM ARN.
dInstanceIds :: Lens' Deployment [Text] Source
The IDs of the target instances.
InstancesCount
data InstancesCount Source
instancesCount :: InstancesCount Source
InstancesCount constructor.
The fields accessible through corresponding lenses are:
icAssigning::MaybeInticBooting::MaybeInticConnectionLost::MaybeInticDeregistering::MaybeInticOnline::MaybeInticPending::MaybeInticRebooting::MaybeInticRegistered::MaybeInticRegistering::MaybeInticRequested::MaybeInticRunningSetup::MaybeInticSetupFailed::MaybeInticShuttingDown::MaybeInticStartFailed::MaybeInticStopped::MaybeInticStopping::MaybeInticTerminated::MaybeInticTerminating::MaybeInticUnassigning::MaybeInt
icAssigning :: Lens' InstancesCount (Maybe Int) Source
The number of instances in the Assigning state.
icConnectionLost :: Lens' InstancesCount (Maybe Int) Source
The number of instances with connection_lost status.
icDeregistering :: Lens' InstancesCount (Maybe Int) Source
The number of instances in the Deregistering state.
icRebooting :: Lens' InstancesCount (Maybe Int) Source
The number of instances with rebooting status.
icRegistered :: Lens' InstancesCount (Maybe Int) Source
The number of instances in the Registered state.
icRegistering :: Lens' InstancesCount (Maybe Int) Source
The number of instances in the Registering state.
icRequested :: Lens' InstancesCount (Maybe Int) Source
The number of instances with requested status.
icRunningSetup :: Lens' InstancesCount (Maybe Int) Source
The number of instances with running_setup status.
icSetupFailed :: Lens' InstancesCount (Maybe Int) Source
The number of instances with setup_failed status.
icShuttingDown :: Lens' InstancesCount (Maybe Int) Source
The number of instances with shutting_down status.
icStartFailed :: Lens' InstancesCount (Maybe Int) Source
The number of instances with start_failed status.
icStopping :: Lens' InstancesCount (Maybe Int) Source
The number of instances with stopping status.
icTerminated :: Lens' InstancesCount (Maybe Int) Source
The number of instances with terminated status.
icTerminating :: Lens' InstancesCount (Maybe Int) Source
The number of instances with terminating status.
icUnassigning :: Lens' InstancesCount (Maybe Int) Source
The number of instances in the Unassigning state.