AWS Systems Manager QuickSetup

2024/08/01 - AWS Systems Manager QuickSetup - 12 new api methods

Changes  This release adds API support for the QuickSetup feature of AWS Systems Manager

GetServiceSettings (new) Link ¶

Returns settings configured for Quick Setup in the requesting Amazon Web Services account and Amazon Web Services Region.

See also: AWS API Documentation

Request Syntax

client.get_service_settings()
rtype:

dict

returns:

Response Syntax

{
    'ServiceSettings': {
        'ExplorerEnablingRoleArn': 'string'
    }
}

Response Structure

  • (dict) --

    • ServiceSettings (dict) --

      Returns details about the settings for Quick Setup in the requesting Amazon Web Services account and Amazon Web Services Region.

      • ExplorerEnablingRoleArn (string) --

        The IAM role used to enable Explorer.

UpdateConfigurationDefinition (new) Link ¶

Updates a Quick Setup configuration definition.

See also: AWS API Documentation

Request Syntax

client.update_configuration_definition(
    Id='string',
    LocalDeploymentAdministrationRoleArn='string',
    LocalDeploymentExecutionRoleName='string',
    ManagerArn='string',
    Parameters={
        'string': 'string'
    },
    TypeVersion='string'
)
type Id:

string

param Id:

[REQUIRED]

The ID of the configuration definition you want to update.

type LocalDeploymentAdministrationRoleArn:

string

param LocalDeploymentAdministrationRoleArn:

The ARN of the IAM role used to administrate local configuration deployments.

type LocalDeploymentExecutionRoleName:

string

param LocalDeploymentExecutionRoleName:

The name of the IAM role used to deploy local configurations.

type ManagerArn:

string

param ManagerArn:

[REQUIRED]

The ARN of the configuration manager associated with the definition to update.

type Parameters:

dict

param Parameters:

The parameters for the configuration definition type.

  • (string) --

    • (string) --

type TypeVersion:

string

param TypeVersion:

The version of the Quick Setup type to use.

returns:

None

DeleteConfigurationManager (new) Link ¶

Deletes a configuration manager.

See also: AWS API Documentation

Request Syntax

client.delete_configuration_manager(
    ManagerArn='string'
)
type ManagerArn:

string

param ManagerArn:

[REQUIRED]

The ID of the configuration manager.

returns:

None

ListConfigurationManagers (new) Link ¶

Returns Quick Setup configuration managers.

See also: AWS API Documentation

Request Syntax

client.list_configuration_managers(
    Filters=[
        {
            'Key': 'string',
            'Values': [
                'string',
            ]
        },
    ],
    MaxItems=123,
    StartingToken='string'
)
type Filters:

list

param Filters:

Filters the results returned by the request.

  • (dict) --

    A key-value pair to filter results.

    • Key (string) -- [REQUIRED]

      The key for the filter.

    • Values (list) -- [REQUIRED]

      The values for the filter keys.

      • (string) --

type MaxItems:

integer

param MaxItems:

Specifies the maximum number of configuration managers that are returned by the request.

type StartingToken:

string

param StartingToken:

The token to use when requesting a specific set of items from a list.

rtype:

dict

returns:

Response Syntax

{
    'ConfigurationManagersList': [
        {
            'ConfigurationDefinitionSummaries': [
                {
                    'FirstClassParameters': {
                        'string': 'string'
                    },
                    'Id': 'string',
                    'Type': 'string',
                    'TypeVersion': 'string'
                },
            ],
            'Description': 'string',
            'ManagerArn': 'string',
            'Name': 'string',
            'StatusSummaries': [
                {
                    'LastUpdatedAt': datetime(2015, 1, 1),
                    'Status': 'INITIALIZING'|'DEPLOYING'|'SUCCEEDED'|'DELETING'|'STOPPING'|'FAILED'|'STOPPED'|'DELETE_FAILED'|'STOP_FAILED'|'NONE',
                    'StatusDetails': {
                        'string': 'string'
                    },
                    'StatusMessage': 'string',
                    'StatusType': 'Deployment'|'AsyncExecutions'
                },
            ]
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • ConfigurationManagersList (list) --

      The configuration managers returned by the request.

      • (dict) --

        A summary of a Quick Setup configuration manager.

        • ConfigurationDefinitionSummaries (list) --

          A summary of the Quick Setup configuration definition.

          • (dict) --

            A summarized definition of a Quick Setup configuration definition.

            • FirstClassParameters (dict) --

              The common parameters and values for the configuration definition.

              • (string) --

                • (string) --

            • Id (string) --

              The ID of the configuration definition.

            • Type (string) --

              The type of the Quick Setup configuration used by the configuration definition.

            • TypeVersion (string) --

              The version of the Quick Setup type used by the configuration definition.

        • Description (string) --

          The description of the configuration.

        • ManagerArn (string) --

          The ARN of the Quick Setup configuration.

        • Name (string) --

          The name of the configuration

        • StatusSummaries (list) --

          Summaries of the state of the configuration manager. These summaries include an aggregate of the statuses from the configuration definition associated with the configuration manager. This includes deployment statuses, association statuses, drift statuses, health checks, and more.

          • (dict) --

            A summarized description of the status.

            • LastUpdatedAt (datetime) --

              The datetime stamp when the status was last updated.

            • Status (string) --

              The current status.

            • StatusDetails (dict) --

              Details about the status.

              • (string) --

                • (string) --

            • StatusMessage (string) --

              When applicable, returns an informational message relevant to the current status and status type of the status summary object. We don't recommend implementing parsing logic around this value since the messages returned can vary in format.

            • StatusType (string) --

              The type of a status summary.

    • NextToken (string) --

      The token to use when requesting the next set of configuration managers. If there are no additional operations to return, the string is empty.

TagResource (new) Link ¶

Assigns key-value pairs of metadata to Amazon Web Services resources.

See also: AWS API Documentation

Request Syntax

client.tag_resource(
    ResourceArn='string',
    Tags={
        'string': 'string'
    }
)
type ResourceArn:

string

param ResourceArn:

[REQUIRED]

The ARN of the resource to tag.

type Tags:

dict

param Tags:

[REQUIRED]

Key-value pairs of metadata to assign to the resource.

  • (string) --

    • (string) --

returns:

None

UpdateServiceSettings (new) Link ¶

Updates settings configured for Quick Setup.

See also: AWS API Documentation

Request Syntax

client.update_service_settings(
    ExplorerEnablingRoleArn='string'
)
type ExplorerEnablingRoleArn:

string

param ExplorerEnablingRoleArn:

The IAM role used to enable Explorer.

returns:

None

GetConfigurationManager (new) Link ¶

Returns a configuration manager.

See also: AWS API Documentation

Request Syntax

client.get_configuration_manager(
    ManagerArn='string'
)
type ManagerArn:

string

param ManagerArn:

[REQUIRED]

The ARN of the configuration manager.

rtype:

dict

returns:

Response Syntax

{
    'ConfigurationDefinitions': [
        {
            'Id': 'string',
            'LocalDeploymentAdministrationRoleArn': 'string',
            'LocalDeploymentExecutionRoleName': 'string',
            'Parameters': {
                'string': 'string'
            },
            'Type': 'string',
            'TypeVersion': 'string'
        },
    ],
    'CreatedAt': datetime(2015, 1, 1),
    'Description': 'string',
    'LastModifiedAt': datetime(2015, 1, 1),
    'ManagerArn': 'string',
    'Name': 'string',
    'StatusSummaries': [
        {
            'LastUpdatedAt': datetime(2015, 1, 1),
            'Status': 'INITIALIZING'|'DEPLOYING'|'SUCCEEDED'|'DELETING'|'STOPPING'|'FAILED'|'STOPPED'|'DELETE_FAILED'|'STOP_FAILED'|'NONE',
            'StatusDetails': {
                'string': 'string'
            },
            'StatusMessage': 'string',
            'StatusType': 'Deployment'|'AsyncExecutions'
        },
    ],
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • ConfigurationDefinitions (list) --

      The configuration definitions association with the configuration manager.

      • (dict) --

        The definition of a Quick Setup configuration.

        • Id (string) --

          The ID of the configuration definition.

        • LocalDeploymentAdministrationRoleArn (string) --

          The ARN of the IAM role used to administrate local configuration deployments.

        • LocalDeploymentExecutionRoleName (string) --

          The name of the IAM role used to deploy local configurations.

        • Parameters (dict) --

          A list of key-value pairs containing the required parameters for the configuration type.

          • (string) --

            • (string) --

        • Type (string) --

          The type of the Quick Setup configuration.

        • TypeVersion (string) --

          The version of the Quick Setup type used.

    • CreatedAt (datetime) --

      The datetime stamp when the configuration manager was created.

    • Description (string) --

      The description of the configuration manager.

    • LastModifiedAt (datetime) --

      The datetime stamp when the configuration manager was last updated.

    • ManagerArn (string) --

      The ARN of the configuration manager.

    • Name (string) --

      The name of the configuration manager.

    • StatusSummaries (list) --

      A summary of the state of the configuration manager. This includes deployment statuses, association statuses, drift statuses, health checks, and more.

      • (dict) --

        A summarized description of the status.

        • LastUpdatedAt (datetime) --

          The datetime stamp when the status was last updated.

        • Status (string) --

          The current status.

        • StatusDetails (dict) --

          Details about the status.

          • (string) --

            • (string) --

        • StatusMessage (string) --

          When applicable, returns an informational message relevant to the current status and status type of the status summary object. We don't recommend implementing parsing logic around this value since the messages returned can vary in format.

        • StatusType (string) --

          The type of a status summary.

    • Tags (dict) --

      Key-value pairs of metadata to assign to the configuration manager.

      • (string) --

        • (string) --

UntagResource (new) Link ¶

Removes tags from the specified resource.

See also: AWS API Documentation

Request Syntax

client.untag_resource(
    ResourceArn='string',
    TagKeys=[
        'string',
    ]
)
type ResourceArn:

string

param ResourceArn:

[REQUIRED]

The ARN of the resource to remove tags from.

type TagKeys:

list

param TagKeys:

[REQUIRED]

The keys of the tags to remove from the resource.

  • (string) --

returns:

None

ListQuickSetupTypes (new) Link ¶

Returns the available Quick Setup types.

See also: AWS API Documentation

Request Syntax

client.list_quick_setup_types()
rtype:

dict

returns:

Response Syntax

{
    'QuickSetupTypeList': [
        {
            'LatestVersion': 'string',
            'Type': 'string'
        },
    ]
}

Response Structure

  • (dict) --

    • QuickSetupTypeList (list) --

      An array of Quick Setup types.

      • (dict) --

        Information about the Quick Setup type.

        • LatestVersion (string) --

          The latest version number of the configuration.

        • Type (string) --

          The type of the Quick Setup configuration.

ListTagsForResource (new) Link ¶

Returns tags assigned to the resource.

See also: AWS API Documentation

Request Syntax

client.list_tags_for_resource(
    ResourceArn='string'
)
type ResourceArn:

string

param ResourceArn:

[REQUIRED]

The ARN of the resource the tag is assigned to.

rtype:

dict

returns:

Response Syntax

{
    'Tags': [
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
}

Response Structure

  • (dict) --

    • Tags (list) --

      Key-value pairs of metadata assigned to the resource.

      • (dict) --

        Key-value pairs of metadata.

        • Key (string) --

          The key for the tag.

        • Value (string) --

          The value for the tag.

UpdateConfigurationManager (new) Link ¶

Updates a Quick Setup configuration manager.

See also: AWS API Documentation

Request Syntax

client.update_configuration_manager(
    Description='string',
    ManagerArn='string',
    Name='string'
)
type Description:

string

param Description:

A description of the configuration manager.

type ManagerArn:

string

param ManagerArn:

[REQUIRED]

The ARN of the configuration manager.

type Name:

string

param Name:

A name for the configuration manager.

returns:

None

CreateConfigurationManager (new) Link ¶

Creates a Quick Setup configuration manager resource. This object is a collection of desired state configurations for multiple configuration definitions and summaries describing the deployments of those definitions.

See also: AWS API Documentation

Request Syntax

client.create_configuration_manager(
    ConfigurationDefinitions=[
        {
            'LocalDeploymentAdministrationRoleArn': 'string',
            'LocalDeploymentExecutionRoleName': 'string',
            'Parameters': {
                'string': 'string'
            },
            'Type': 'string',
            'TypeVersion': 'string'
        },
    ],
    Description='string',
    Name='string',
    Tags={
        'string': 'string'
    }
)
type ConfigurationDefinitions:

list

param ConfigurationDefinitions:

[REQUIRED]

The definition of the Quick Setup configuration that the configuration manager deploys.

  • (dict) --

    Defines the preferences and options for a configuration definition.

    • LocalDeploymentAdministrationRoleArn (string) --

      The ARN of the IAM role used to administrate local configuration deployments.

    • LocalDeploymentExecutionRoleName (string) --

      The name of the IAM role used to deploy local configurations.

    • Parameters (dict) -- [REQUIRED]

      The parameters for the configuration definition type. Parameters for configuration definitions vary based the configuration type. The following tables outline the parameters for each configuration type.

      OpsCenter (Type: Amazon Web ServicesQuickSetupType-SSMOpsCenter)

      • DelegatedAccountId

        • Description: (Required) The ID of the delegated administrator account.

      • TargetOrganizationalUnits

        • Description: (Required) A comma separated list of organizational units (OUs) you want to deploy the configuration to.

      • TargetRegions

        • Description: (Required) A comma separated list of Amazon Web Services Regions you want to deploy the configuration to.

        Resource Scheduler (Type: Amazon Web ServicesQuickSetupType-Scheduler)

      • TargetTagKey

        • Description: (Required) The tag key assigned to the instances you want to target.

      • TargetTagValue

        • Description: (Required) The value of the tag key assigned to the instances you want to target.

      • ICalendarString

        • Description: (Required) An iCalendar formatted string containing the schedule you want Change Manager to use.

      • TargetAccounts

        • Description: (Optional) The ID of the Amazon Web Services account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either TargetAccounts or TargetOrganizationalUnits.

      • TargetOrganizationalUnits

        • Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to.

      • TargetRegions

        • Description: (Required) A comma separated list of Amazon Web Services Regions you want to deploy the configuration to.

        Default Host Management Configuration (Type: Amazon Web ServicesQuickSetupType-DHMC)

      • UpdateSSMAgent

        • Description: (Optional) A boolean value that determines whether the SSM Agent is updated on the target instances every 2 weeks. The default value is " true".

      • TargetOrganizationalUnits

        • Description: (Required) A comma separated list of organizational units (OUs) you want to deploy the configuration to.

      • TargetRegions

        • Description: (Required) A comma separated list of Amazon Web Services Regions you want to deploy the configuration to.

        Resource Explorer (Type: Amazon Web ServicesQuickSetupType-ResourceExplorer)

      • SelectedAggregatorRegion

        • Description: (Required) The Amazon Web Services Region where you want to create the aggregator index.

      • ReplaceExistingAggregator

        • Description: (Required) A boolean value that determines whether to demote an existing aggregator if it is in a Region that differs from the value you specify for the SelectedAggregatorRegion.

      • TargetOrganizationalUnits

        • Description: (Required) A comma separated list of organizational units (OUs) you want to deploy the configuration to.

      • TargetRegions

        • Description: (Required) A comma separated list of Amazon Web Services Regions you want to deploy the configuration to.

        Change Manager (Type: Amazon Web ServicesQuickSetupType-SSMChangeMgr)

      • DelegatedAccountId

        • Description: (Required) The ID of the delegated administrator account.

      • JobFunction

        • Description: (Required) The name for the Change Manager job function.

      • PermissionType

        • Description: (Optional) Specifies whether you want to use default administrator permissions for the job function role, or provide a custom IAM policy. The valid values are CustomPermissions and AdminPermissions. The default value for the parameter is CustomerPermissions.

      • CustomPermissions

        • Description: (Optional) A JSON string containing the IAM policy you want your job function to use. You must provide a value for this parameter if you specify CustomPermissions for the PermissionType parameter.

      • TargetOrganizationalUnits

        • Description: (Required) A comma separated list of organizational units (OUs) you want to deploy the configuration to.

      • TargetRegions

        • Description: (Required) A comma separated list of Amazon Web Services Regions you want to deploy the configuration to.

        DevOps Guru (Type: Amazon Web ServicesQuickSetupType-DevOpsGuru)

      • AnalyseAllResources

        • Description: (Optional) A boolean value that determines whether DevOps Guru analyzes all CloudFormation stacks in the account. The default value is " false".

      • EnableSnsNotifications

        • Description: (Optional) A boolean value that determines whether DevOps Guru sends notifications when an insight is created. The default value is " true".

      • EnableSsmOpsItems

        • Description: (Optional) A boolean value that determines whether DevOps Guru creates an OpsCenter OpsItem when an insight is created. The default value is " true".

      • EnableDriftRemediation

        • Description: (Optional) A boolean value that determines whether a drift remediation schedule is used. The default value is " false".

      • RemediationSchedule

        • Description: (Optional) A rate expression that defines the schedule for drift remediation. The valid values are rate(30 days), rate(14 days), rate(1 days), and none. The default value is " none".

      • TargetAccounts

        • Description: (Optional) The ID of the Amazon Web Services account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either TargetAccounts or TargetOrganizationalUnits.

      • TargetOrganizationalUnits

        • Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to.

      • TargetRegions

        • Description: (Required) A comma separated list of Amazon Web Services Regions you want to deploy the configuration to.

        Conformance Packs (Type: Amazon Web ServicesQuickSetupType-CFGCPacks)

      • DelegatedAccountId

        • Description: (Optional) The ID of the delegated administrator account. This parameter is required for Organization deployments.

      • RemediationSchedule

        • Description: (Optional) A rate expression that defines the schedule for drift remediation. The valid values are rate(30 days), rate(14 days), rate(2 days), and none. The default value is " none".

      • CPackNames

        • Description: (Required) A comma separated list of Config conformance packs.

      • TargetAccounts

        • Description: (Optional) The ID of the Amazon Web Services account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either TargetAccounts or TargetOrganizationalUnits.

      • TargetOrganizationalUnits

        • Description: (Optional) The ID of the root of your Organization. This configuration type doesn't currently support choosing specific OUs. The configuration will be deployed to all the OUs in the Organization.

      • TargetRegions

        • Description: (Required) A comma separated list of Amazon Web Services Regions you want to deploy the configuration to.

        Config Recording (Type: Amazon Web ServicesQuickSetupType-CFGRecording)

      • RecordAllResources

        • Description: (Optional) A boolean value that determines whether all supported resources are recorded. The default value is " true".

      • ResourceTypesToRecord

        • Description: (Optional) A comma separated list of resource types you want to record.

      • RecordGlobalResourceTypes

        • Description: (Optional) A boolean value that determines whether global resources are recorded with all resource configurations. The default value is " false".

      • GlobalResourceTypesRegion

        • Description: (Optional) Determines the Amazon Web Services Region where global resources are recorded.

      • UseCustomBucket

        • Description: (Optional) A boolean value that determines whether a custom Amazon S3 bucket is used for delivery. The default value is " false".

      • DeliveryBucketName

        • Description: (Optional) The name of the Amazon S3 bucket you want Config to deliver configuration snapshots and configuration history files to.

      • DeliveryBucketPrefix

        • Description: (Optional) The key prefix you want to use in the custom Amazon S3 bucket.

      • NotificationOptions

        • Description: (Optional) Determines the notification configuration for the recorder. The valid values are NoStreaming, UseExistingTopic, and CreateTopic. The default value is NoStreaming.

      • CustomDeliveryTopicAccountId

        • Description: (Optional) The ID of the Amazon Web Services account where the Amazon SNS topic you want to use for notifications resides. You must specify a value for this parameter if you use the UseExistingTopic notification option.

      • CustomDeliveryTopicName

        • Description: (Optional) The name of the Amazon SNS topic you want to use for notifications. You must specify a value for this parameter if you use the UseExistingTopic notification option.

      • RemediationSchedule

        • Description: (Optional) A rate expression that defines the schedule for drift remediation. The valid values are rate(30 days), rate(7 days), rate(1 days), and none. The default value is " none".

      • TargetAccounts

        • Description: (Optional) The ID of the Amazon Web Services account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either TargetAccounts or TargetOrganizationalUnits.

      • TargetOrganizationalUnits

        • Description: (Optional) The ID of the root of your Organization. This configuration type doesn't currently support choosing specific OUs. The configuration will be deployed to all the OUs in the Organization.

      • TargetRegions

        • Description: (Required) A comma separated list of Amazon Web Services Regions you want to deploy the configuration to.

        Host Management (Type: Amazon Web ServicesQuickSetupType-SSMHostMgmt)

      • UpdateSSMAgent

        • Description: (Optional) A boolean value that determines whether the SSM Agent is updated on the target instances every 2 weeks. The default value is " true".

      • UpdateEc2LaunchAgent

        • Description: (Optional) A boolean value that determines whether the EC2 Launch agent is updated on the target instances every month. The default value is " false".

      • CollectInventory

        • Description: (Optional) A boolean value that determines whether the EC2 Launch agent is updated on the target instances every month. The default value is " true".

      • ScanInstances

        • Description: (Optional) A boolean value that determines whether the target instances are scanned daily for available patches. The default value is " true".

      • InstallCloudWatchAgent

        • Description: (Optional) A boolean value that determines whether the Amazon CloudWatch agent is installed on the target instances. The default value is " false".

      • UpdateCloudWatchAgent

        • Description: (Optional) A boolean value that determines whether the Amazon CloudWatch agent is updated on the target instances every month. The default value is " false".

      • IsPolicyAttachAllowed

        • Description: (Optional) A boolean value that determines whether Quick Setup attaches policies to instances profiles already associated with the target instances. The default value is " false".

      • TargetType

        • Description: (Optional) Determines how instances are targeted for local account deployments. Don't specify a value for this parameter if you're deploying to OUs. The valid values are *, InstanceIds, ResourceGroups, and Tags. Use * to target all instances in the account.

      • TargetInstances

        • Description: (Optional) A comma separated list of instance IDs. You must provide a value for this parameter if you specify InstanceIds for the TargetType parameter.

      • TargetTagKey

        • Description: (Optional) The tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify Tags for the TargetType parameter.

      • TargetTagValue

        • Description: (Optional) The value of the tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify Tags for the TargetType parameter.

      • ResourceGroupName

        • Description: (Optional) The name of the resource group associated with the instances you want to target. You must provide a value for this parameter if you specify ResourceGroups for the TargetType parameter.

      • TargetAccounts

        • Description: (Optional) The ID of the Amazon Web Services account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either TargetAccounts or TargetOrganizationalUnits.

      • TargetOrganizationalUnits

        • Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to.

      • TargetRegions

        • Description: (Required) A comma separated list of Amazon Web Services Regions you want to deploy the configuration to.

        Distributor (Type: Amazon Web ServicesQuickSetupType-Distributor)

      • PackagesToInstall

        • Description: (Required) A comma separated list of packages you want to install on the target instances. The valid values are AWSEFSTools, AWSCWAgent, and AWSEC2LaunchAgent.

      • RemediationSchedule

        • Description: (Optional) A rate expression that defines the schedule for drift remediation. The valid values are rate(30 days), rate(14 days), rate(2 days), and none. The default value is " rate(30 days)".

      • IsPolicyAttachAllowed

        • Description: (Optional) A boolean value that determines whether Quick Setup attaches policies to instances profiles already associated with the target instances. The default value is " false".

      • TargetType

        • Description: (Optional) Determines how instances are targeted for local account deployments. Don't specify a value for this parameter if you're deploying to OUs. The valid values are *, InstanceIds, ResourceGroups, and Tags. Use * to target all instances in the account.

      • TargetInstances

        • Description: (Optional) A comma separated list of instance IDs. You must provide a value for this parameter if you specify InstanceIds for the TargetType parameter.

      • TargetTagKey

        • Description: (Required) The tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify Tags for the TargetType parameter.

      • TargetTagValue

        • Description: (Required) The value of the tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify Tags for the TargetType parameter.

      • ResourceGroupName

        • Description: (Required) The name of the resource group associated with the instances you want to target. You must provide a value for this parameter if you specify ResourceGroups for the TargetType parameter.

      • TargetAccounts

        • Description: (Optional) The ID of the Amazon Web Services account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either TargetAccounts or TargetOrganizationalUnits.

      • TargetOrganizationalUnits

        • Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to.

      • TargetRegions

        • Description: (Required) A comma separated list of Amazon Web Services Regions you want to deploy the configuration to.

        Patch Policy (Type: Amazon Web ServicesQuickSetupType-PatchPolicy)

      • PatchPolicyName

        • Description: (Required) A name for the patch policy. The value you provide is applied to target Amazon EC2 instances as a tag.

      • SelectedPatchBaselines

        • Description: (Required) An array of JSON objects containing the information for the patch baselines to include in your patch policy.

      • PatchBaselineUseDefault

        • Description: (Optional) A boolean value that determines whether the selected patch baselines are all Amazon Web Services provided.

      • ConfigurationOptionsPatchOperation

        • Description: (Optional) Determines whether target instances scan for available patches, or scan and install available patches. The valid values are Scan and ScanAndInstall. The default value for the parameter is Scan.

      • ConfigurationOptionsScanValue

        • Description: (Optional) A cron expression that is used as the schedule for when instances scan for available patches.

      • ConfigurationOptionsInstallValue

        • Description: (Optional) A cron expression that is used as the schedule for when instances install available patches.

      • ConfigurationOptionsScanNextInterval

        • Description: (Optional) A boolean value that determines whether instances should scan for available patches at the next cron interval. The default value is " false".

      • ConfigurationOptionsInstallNextInterval

        • Description: (Optional) A boolean value that determines whether instances should scan for available patches at the next cron interval. The default value is " false".

      • RebootOption

        • Description: (Optional) A boolean value that determines whether instances are rebooted after patches are installed. The default value is " false".

      • IsPolicyAttachAllowed

        • Description: (Optional) A boolean value that determines whether Quick Setup attaches policies to instances profiles already associated with the target instances. The default value is " false".

      • OutputLogEnableS3

        • Description: (Optional) A boolean value that determines whether command output logs are sent to Amazon S3.

      • OutputS3Location

        • Description: (Optional) A JSON string containing information about the Amazon S3 bucket where you want to store the output details of the request.

          • OutputS3BucketRegion

            • Description: (Optional) The Amazon Web Services Region where the Amazon S3 bucket you want Config to deliver command output to is located.

          • OutputS3BucketName

            • Description: (Optional) The name of the Amazon S3 bucket you want Config to deliver command output to.

          • OutputS3KeyPrefix

            • Description: (Optional) The key prefix you want to use in the custom Amazon S3 bucket.

      • TargetType

        • Description: (Optional) Determines how instances are targeted for local account deployments. Don't specify a value for this parameter if you're deploying to OUs. The valid values are *, InstanceIds, ResourceGroups, and Tags. Use * to target all instances in the account.

      • TargetInstances

        • Description: (Optional) A comma separated list of instance IDs. You must provide a value for this parameter if you specify InstanceIds for the TargetType parameter.

      • TargetTagKey

        • Description: (Required) The tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify Tags for the TargetType parameter.

      • TargetTagValue

        • Description: (Required) The value of the tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify Tags for the TargetType parameter.

      • ResourceGroupName

        • Description: (Required) The name of the resource group associated with the instances you want to target. You must provide a value for this parameter if you specify ResourceGroups for the TargetType parameter.

      • TargetAccounts

        • Description: (Optional) The ID of the Amazon Web Services account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either TargetAccounts or TargetOrganizationalUnits.

      • TargetOrganizationalUnits

        • Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to.

      • TargetRegions

        • Description: (Required) A comma separated list of Amazon Web Services Regions you want to deploy the configuration to.

      • (string) --

        • (string) --

    • Type (string) -- [REQUIRED]

      The type of the Quick Setup configuration.

    • TypeVersion (string) --

      The version of the Quick Setup type to use.

type Description:

string

param Description:

A description of the configuration manager.

type Name:

string

param Name:

A name for the configuration manager.

type Tags:

dict

param Tags:

Key-value pairs of metadata to assign to the configuration manager.

  • (string) --

    • (string) --

rtype:

dict

returns:

Response Syntax

{
    'ManagerArn': 'string'
}

Response Structure

  • (dict) --

    • ManagerArn (string) --

      The ARN for the newly created configuration manager.