| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ImageBuilder.Types.Component
Description
Synopsis
- data Component = Component' {
- arn :: Maybe Text
- changeDescription :: Maybe Text
- data' :: Maybe Text
- dateCreated :: Maybe Text
- description :: Maybe Text
- encrypted :: Maybe Bool
- kmsKeyId :: Maybe Text
- name :: Maybe Text
- owner :: Maybe Text
- parameters :: Maybe [ComponentParameterDetail]
- platform :: Maybe Platform
- state :: Maybe ComponentState
- supportedOsVersions :: Maybe (NonEmpty Text)
- tags :: Maybe (HashMap Text Text)
- type' :: Maybe ComponentType
- version :: Maybe Text
- newComponent :: Component
- component_arn :: Lens' Component (Maybe Text)
- component_changeDescription :: Lens' Component (Maybe Text)
- component_data :: Lens' Component (Maybe Text)
- component_dateCreated :: Lens' Component (Maybe Text)
- component_description :: Lens' Component (Maybe Text)
- component_encrypted :: Lens' Component (Maybe Bool)
- component_kmsKeyId :: Lens' Component (Maybe Text)
- component_name :: Lens' Component (Maybe Text)
- component_owner :: Lens' Component (Maybe Text)
- component_parameters :: Lens' Component (Maybe [ComponentParameterDetail])
- component_platform :: Lens' Component (Maybe Platform)
- component_state :: Lens' Component (Maybe ComponentState)
- component_supportedOsVersions :: Lens' Component (Maybe (NonEmpty Text))
- component_tags :: Lens' Component (Maybe (HashMap Text Text))
- component_type :: Lens' Component (Maybe ComponentType)
- component_version :: Lens' Component (Maybe Text)
Documentation
A detailed view of a component.
See: newComponent smart constructor.
Constructors
| Component' | |
Fields
| |
Instances
newComponent :: Component Source #
Create a value of Component 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:arn:Component', component_arn - The Amazon Resource Name (ARN) of the component.
$sel:changeDescription:Component', component_changeDescription - The change description of the component.
$sel:data':Component', component_data - Component data contains the YAML document content for the component.
$sel:dateCreated:Component', component_dateCreated - The date that the component was created.
Component, component_description - The description of the component.
$sel:encrypted:Component', component_encrypted - The encryption status of the component.
$sel:kmsKeyId:Component', component_kmsKeyId - The KMS key identifier used to encrypt the component.
Component, component_name - The name of the component.
$sel:owner:Component', component_owner - The owner of the component.
$sel:parameters:Component', component_parameters - Contains parameter details for each of the parameters that are defined
for the component.
$sel:platform:Component', component_platform - The platform of the component.
$sel:state:Component', component_state - Describes the current status of the component. This is used for
components that are no longer active.
$sel:supportedOsVersions:Component', component_supportedOsVersions - The operating system (OS) version supported by the component. If the OS
information is available, a prefix match is performed against the base
image OS version during image recipe creation.
$sel:tags:Component', component_tags - The tags associated with the component.
Component, component_type - The type of the component denotes whether the component is used to build
the image or only to test it.
$sel:version:Component', component_version - The version of the component.
component_arn :: Lens' Component (Maybe Text) Source #
The Amazon Resource Name (ARN) of the component.
component_changeDescription :: Lens' Component (Maybe Text) Source #
The change description of the component.
component_data :: Lens' Component (Maybe Text) Source #
Component data contains the YAML document content for the component.
component_dateCreated :: Lens' Component (Maybe Text) Source #
The date that the component was created.
component_kmsKeyId :: Lens' Component (Maybe Text) Source #
The KMS key identifier used to encrypt the component.
component_parameters :: Lens' Component (Maybe [ComponentParameterDetail]) Source #
Contains parameter details for each of the parameters that are defined for the component.
component_state :: Lens' Component (Maybe ComponentState) Source #
Describes the current status of the component. This is used for components that are no longer active.
component_supportedOsVersions :: Lens' Component (Maybe (NonEmpty Text)) Source #
The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the base image OS version during image recipe creation.
component_tags :: Lens' Component (Maybe (HashMap Text Text)) Source #
The tags associated with the component.
component_type :: Lens' Component (Maybe ComponentType) Source #
The type of the component denotes whether the component is used to build the image or only to test it.