| 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.SSM.Types.Association
Description
Synopsis
- data Association = Association' {
- associationId :: Maybe Text
- associationName :: Maybe Text
- associationVersion :: Maybe Text
- documentVersion :: Maybe Text
- instanceId :: Maybe Text
- lastExecutionDate :: Maybe POSIX
- name :: Maybe Text
- overview :: Maybe AssociationOverview
- scheduleExpression :: Maybe Text
- scheduleOffset :: Maybe Natural
- targetMaps :: Maybe [HashMap Text [Text]]
- targets :: Maybe [Target]
- newAssociation :: Association
- association_associationId :: Lens' Association (Maybe Text)
- association_associationName :: Lens' Association (Maybe Text)
- association_associationVersion :: Lens' Association (Maybe Text)
- association_documentVersion :: Lens' Association (Maybe Text)
- association_instanceId :: Lens' Association (Maybe Text)
- association_lastExecutionDate :: Lens' Association (Maybe UTCTime)
- association_name :: Lens' Association (Maybe Text)
- association_overview :: Lens' Association (Maybe AssociationOverview)
- association_scheduleExpression :: Lens' Association (Maybe Text)
- association_scheduleOffset :: Lens' Association (Maybe Natural)
- association_targetMaps :: Lens' Association (Maybe [HashMap Text [Text]])
- association_targets :: Lens' Association (Maybe [Target])
Documentation
data Association Source #
Describes an association of a Amazon Web Services Systems Manager document (SSM document) and a managed node.
See: newAssociation smart constructor.
Constructors
| Association' | |
Fields
| |
Instances
newAssociation :: Association Source #
Create a value of Association 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:associationId:Association', association_associationId - The ID created by the system when you create an association. An
association is a binding between a document and a set of targets with a
schedule.
$sel:associationName:Association', association_associationName - The association name.
$sel:associationVersion:Association', association_associationVersion - The association version.
$sel:documentVersion:Association', association_documentVersion - The version of the document used in the association. If you change a
document version for a State Manager association, Systems Manager
immediately runs the association unless you previously specifed the
apply-only-at-cron-interval parameter.
State Manager doesn't support running associations that use a new
version of a document if that document is shared from another account.
State Manager always runs the default version of a document if shared
from another account, even though the Systems Manager console shows that
a new version was processed. If you want to run an association using a
new version of a document shared form another account, you must set the
document version to default.
$sel:instanceId:Association', association_instanceId - The managed node ID.
$sel:lastExecutionDate:Association', association_lastExecutionDate - The date on which the association was last run.
$sel:name:Association', association_name - The name of the SSM document.
$sel:overview:Association', association_overview - Information about the association.
$sel:scheduleExpression:Association', association_scheduleExpression - A cron expression that specifies a schedule when the association runs.
The schedule runs in Coordinated Universal Time (UTC).
$sel:scheduleOffset:Association', association_scheduleOffset - Number of days to wait after the scheduled day to run an association.
$sel:targetMaps:Association', association_targetMaps - A key-value mapping of document parameters to target resources. Both
Targets and TargetMaps can't be specified together.
$sel:targets:Association', association_targets - The managed nodes targeted by the request to create an association. You
can target all managed nodes in an Amazon Web Services account by
specifying the InstanceIds key with a value of *.
association_associationId :: Lens' Association (Maybe Text) Source #
The ID created by the system when you create an association. An association is a binding between a document and a set of targets with a schedule.
association_associationName :: Lens' Association (Maybe Text) Source #
The association name.
association_associationVersion :: Lens' Association (Maybe Text) Source #
The association version.
association_documentVersion :: Lens' Association (Maybe Text) Source #
The version of the document used in the association. If you change a
document version for a State Manager association, Systems Manager
immediately runs the association unless you previously specifed the
apply-only-at-cron-interval parameter.
State Manager doesn't support running associations that use a new
version of a document if that document is shared from another account.
State Manager always runs the default version of a document if shared
from another account, even though the Systems Manager console shows that
a new version was processed. If you want to run an association using a
new version of a document shared form another account, you must set the
document version to default.
association_instanceId :: Lens' Association (Maybe Text) Source #
The managed node ID.
association_lastExecutionDate :: Lens' Association (Maybe UTCTime) Source #
The date on which the association was last run.
association_name :: Lens' Association (Maybe Text) Source #
The name of the SSM document.
association_overview :: Lens' Association (Maybe AssociationOverview) Source #
Information about the association.
association_scheduleExpression :: Lens' Association (Maybe Text) Source #
A cron expression that specifies a schedule when the association runs. The schedule runs in Coordinated Universal Time (UTC).
association_scheduleOffset :: Lens' Association (Maybe Natural) Source #
Number of days to wait after the scheduled day to run an association.
association_targetMaps :: Lens' Association (Maybe [HashMap Text [Text]]) Source #
A key-value mapping of document parameters to target resources. Both Targets and TargetMaps can't be specified together.
association_targets :: Lens' Association (Maybe [Target]) Source #
The managed nodes targeted by the request to create an association. You
can target all managed nodes in an Amazon Web Services account by
specifying the InstanceIds key with a value of *.