--- swagger: "2.0" x-collection-name: AWS OpsWorks x-complete: 0 info: title: AWS OpsWorks API Update Layer version: 1.0.0 description: Updates a specified layer. schemes: - http produces: - application/json consumes: - application/json paths: /?Action=DescribeLayers: get: summary: Describe Layers description: Requests a description of one or more layers in a specified stack. operationId: describeLayers x-api-path-slug: actiondescribelayers-get parameters: - in: query name: LayerIds description: An array of layer IDs that specify the layers to be described type: string - in: query name: StackId description: The stack ID type: string responses: 200: description: OK tags: - Describe - Layers /?Action=CreateLayer: get: summary: Create Layer description: Creates a layer. operationId: createLayer x-api-path-slug: actioncreatelayer-get parameters: - in: query name: Attributes description: One or more user-defined key-value pairs to be added to the stack attributes type: string - in: query name: AutoAssignElasticIps description: Whether to automatically assign an Elastic IP address to the layers instances type: string - in: query name: AutoAssignPublicIps description: For stacks that are running in a VPC, whether to automatically assign a public IP address to the layers instances type: string - in: query name: CustomInstanceProfileArn description: The ARN of an IAM profile to be used for the layers EC2 instances type: string - in: query name: CustomJson description: A JSON-formatted string containing custom stack configuration and deployment attributes to be installed on the layers instances type: string - in: query name: CustomRecipes description: A LayerCustomRecipes object that specifies the layer custom recipes type: string - in: query name: CustomSecurityGroupIds description: An array containing the layer custom security group IDs type: string - in: query name: EnableAutoHealing description: Whether to disable auto healing for the layer type: string - in: query name: InstallUpdatesOnBoot description: Whether to install operating system and package updates when the instance boots type: string - in: query name: LifecycleEventConfiguration description: A LifeCycleEventConfiguration object that you can use to configure the Shutdown event to specify an execution timeout and enable or disable Elastic Load Balancer connection draining type: string - in: query name: Name description: The layer name, which is used by the console type: string - in: query name: Packages description: An array of Package objects that describes the layer packages type: string - in: query name: Shortname description: For custom layers only, use this parameter to specify the layers short name, which is used internally by AWS OpsWorks Stacks and by Chef recipes type: string - in: query name: StackId description: The layer stack ID type: string - in: query name: Type description: The layer type type: string - in: query name: UseEbsOptimizedInstances description: Whether to use Amazon EBS-optimized instances type: string - in: query name: VolumeConfigurations description: A VolumeConfigurations object that describes the layers Amazon EBS volumes type: string responses: 200: description: OK tags: - Layer /?Action=DeleteLayer: get: summary: Delete Layer description: Deletes a specified layer. operationId: deleteLayer x-api-path-slug: actiondeletelayer-get parameters: - in: query name: LayerId description: The layer ID type: string responses: 200: description: OK tags: - Layer /?Action=UpdateLayer: get: summary: Update Layer description: Updates a specified layer. operationId: updateLayer x-api-path-slug: actionupdatelayer-get parameters: - in: query name: Attributes description: One or more user-defined key/value pairs to be added to the stack attributes type: string - in: query name: AutoAssignElasticIps description: Whether to automatically assign an Elastic IP address to the layers instances type: string - in: query name: AutoAssignPublicIps description: For stacks that are running in a VPC, whether to automatically assign a public IP address to the layers instances type: string - in: query name: CustomInstanceProfileArn description: The ARN of an IAM profile to be used for all of the layers EC2 instances type: string - in: query name: CustomJson description: A JSON-formatted string containing custom stack configuration and deployment attributes to be installed on the layers instances type: string - in: query name: CustomRecipes description: A LayerCustomRecipes object that specifies the layers custom recipes type: string - in: query name: CustomSecurityGroupIds description: An array containing the layers custom security group IDs type: string - in: query name: EnableAutoHealing description: Whether to disable auto healing for the layer type: string - in: query name: InstallUpdatesOnBoot description: Whether to install operating system and package updates when the instance boots type: string - in: query name: LayerId description: The layer ID type: string - in: query name: LifecycleEventConfiguration type: string - in: query name: Name description: The layer name, which is used by the console type: string - in: query name: Packages description: An array of Package objects that describe the layers packages type: string - in: query name: Shortname description: For custom layers only, use this parameter to specify the layers short name, which is used internally by AWS OpsWorks Stacks and by Chef type: string - in: query name: UseEbsOptimizedInstances description: Whether to use Amazon EBS-optimized instances type: string - in: query name: VolumeConfigurations description: A VolumeConfigurations object that describes the layers Amazon EBS volumes type: string responses: 200: description: OK tags: - Layer x-streamrank: polling_total_time_average: 0 polling_size_download_average: 0 streaming_total_time_average: 0 streaming_size_download_average: 0 change_yes: 0 change_no: 0 time_percentage: 0 size_percentage: 0 change_percentage: 0 last_run: "" days_run: 0 minute_run: 0 ---