interface ConfigurationDefinitionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.SSMQuickSetup.CfnConfigurationManager.ConfigurationDefinitionProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsssmquicksetup#CfnConfigurationManager_ConfigurationDefinitionProperty |
Java | software.amazon.awscdk.services.ssmquicksetup.CfnConfigurationManager.ConfigurationDefinitionProperty |
Python | aws_cdk.aws_ssmquicksetup.CfnConfigurationManager.ConfigurationDefinitionProperty |
TypeScript | aws-cdk-lib » aws_ssmquicksetup » CfnConfigurationManager » ConfigurationDefinitionProperty |
The definition of a Quick Setup configuration.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ssmquicksetup as ssmquicksetup } from 'aws-cdk-lib';
const configurationDefinitionProperty: ssmquicksetup.CfnConfigurationManager.ConfigurationDefinitionProperty = {
parameters: {
parametersKey: 'parameters',
},
type: 'type',
// the properties below are optional
id: 'id',
localDeploymentAdministrationRoleArn: 'localDeploymentAdministrationRoleArn',
localDeploymentExecutionRoleName: 'localDeploymentExecutionRoleName',
typeVersion: 'typeVersion',
};
Properties
| Name | Type | Description |
|---|---|---|
| parameters | IResolvable | { [string]: string } | The parameters for the configuration definition type. |
| type | string | The type of the Quick Setup configuration. |
| id? | string | The ID of the configuration definition. |
| local | string | The ARN of the IAM role used to administrate local configuration deployments. |
| local | string | The name of the IAM role used to deploy local configurations. |
| type | string | The version of the Quick Setup type used. |
parameters
Type:
IResolvable | { [string]: string }
The parameters for the configuration definition type.
Parameters for configuration definitions vary based the configuration type. The following lists outline the parameters for each configuration type.
AWS Config Recording (Type: AWS QuickSetupType-CFGRecording) - -
RecordAllResourcesDescription: (Optional) A boolean value that determines whether all supported resources are recorded. The default value is "
true".ResourceTypesToRecordDescription: (Optional) A comma separated list of resource types you want to record.
RecordGlobalResourceTypesDescription: (Optional) A boolean value that determines whether global resources are recorded with all resource configurations. The default value is "
false".GlobalResourceTypesRegionDescription: (Optional) Determines the AWS Region where global resources are recorded.
UseCustomBucketDescription: (Optional) A boolean value that determines whether a custom Amazon S3 bucket is used for delivery. The default value is "
false".DeliveryBucketNameDescription: (Optional) The name of the Amazon S3 bucket you want AWS Config to deliver configuration snapshots and configuration history files to.
DeliveryBucketPrefixDescription: (Optional) The key prefix you want to use in the custom Amazon S3 bucket.
NotificationOptionsDescription: (Optional) Determines the notification configuration for the recorder. The valid values are
NoStreaming,UseExistingTopic, andCreateTopic. The default value isNoStreaming.CustomDeliveryTopicAccountIdDescription: (Optional) The ID of the AWS 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
UseExistingTopicnotification option.CustomDeliveryTopicNameDescription: (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
UseExistingTopicnotification option.RemediationScheduleDescription: (Optional) A rate expression that defines the schedule for drift remediation. The valid values are
rate(30 days),rate(7 days),rate(1 days), andnone. The default value is "none".TargetAccountsDescription: (Optional) The ID of the AWS 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
TargetAccountsorTargetOrganizationalUnits.TargetOrganizationalUnitsDescription: (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.
TargetRegionsDescription: (Required) A comma separated list of AWS Regions you want to deploy the configuration to.
Change Manager (Type: AWS QuickSetupType-SSMChangeMgr) - -
DelegatedAccountIdDescription: (Required) The ID of the delegated administrator account.
JobFunctionDescription: (Required) The name for the Change Manager job function.
PermissionTypeDescription: (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
CustomPermissionsandAdminPermissions. The default value for the parameter isCustomerPermissions.CustomPermissionsDescription: (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
CustomPermissionsfor thePermissionTypeparameter.TargetOrganizationalUnitsDescription: (Required) A comma separated list of organizational units (OUs) you want to deploy the configuration to.
TargetRegionsDescription: (Required) A comma separated list of AWS Regions you want to deploy the configuration to.
Conformance Packs (Type: AWS QuickSetupType-CFGCPacks) - -
DelegatedAccountIdDescription: (Optional) The ID of the delegated administrator account. This parameter is required for Organization deployments.
RemediationScheduleDescription: (Optional) A rate expression that defines the schedule for drift remediation. The valid values are
rate(30 days),rate(14 days),rate(2 days), andnone. The default value is "none".CPackNamesDescription: (Required) A comma separated list of AWS Config conformance packs.
TargetAccountsDescription: (Optional) The ID of the AWS 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
TargetAccountsorTargetOrganizationalUnits.TargetOrganizationalUnitsDescription: (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.
TargetRegionsDescription: (Required) A comma separated list of AWS Regions you want to deploy the configuration to.
Default Host Management Configuration (Type: AWS QuickSetupType-DHMC) - -
UpdateSsmAgentDescription: (Optional) A boolean value that determines whether the SSM Agent is updated on the target instances every 2 weeks. The default value is "
true".TargetOrganizationalUnitsDescription: (Required) A comma separated list of organizational units (OUs) you want to deploy the configuration to.
TargetRegionsDescription: (Required) A comma separated list of AWS Regions you want to deploy the configuration to.
DevOps Guru (Type: AWS QuickSetupType-DevOpsGuru) - -
AnalyseAllResourcesDescription: (Optional) A boolean value that determines whether DevOps Guru analyzes all CloudFormation stacks in the account. The default value is "
false".EnableSnsNotificationsDescription: (Optional) A boolean value that determines whether DevOps Guru sends notifications when an insight is created. The default value is "
true".EnableSsmOpsItemsDescription: (Optional) A boolean value that determines whether DevOps Guru creates an OpsCenter OpsItem when an insight is created. The default value is "
true".EnableDriftRemediationDescription: (Optional) A boolean value that determines whether a drift remediation schedule is used. The default value is "
false".RemediationScheduleDescription: (Optional) A rate expression that defines the schedule for drift remediation. The valid values are
rate(30 days),rate(14 days),rate(1 days), andnone. The default value is "none".TargetAccountsDescription: (Optional) The ID of the AWS 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
TargetAccountsorTargetOrganizationalUnits.TargetOrganizationalUnitsDescription: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to.
TargetRegionsDescription: (Required) A comma separated list of AWS Regions you want to deploy the configuration to.
Distributor (Type: AWS QuickSetupType-Distributor) - -
PackagesToInstallDescription: (Required) A comma separated list of packages you want to install on the target instances. The valid values are
AWSEFSTools,AWSCWAgent, andAWSEC2LaunchAgent.RemediationScheduleDescription: (Optional) A rate expression that defines the schedule for drift remediation. The valid values are
rate(30 days),rate(14 days),rate(2 days), andnone. The default value is "rate(30 days)".IsPolicyAttachAllowedDescription: (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".TargetTypeDescription: (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, andTags. Use*to target all instances in the account.TargetInstancesDescription: (Optional) A comma separated list of instance IDs. You must provide a value for this parameter if you specify
InstanceIdsfor theTargetTypeparameter.TargetTagKeyDescription: (Required) The tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify
Tagsfor theTargetTypeparameter.TargetTagValueDescription: (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
Tagsfor theTargetTypeparameter.ResourceGroupNameDescription: (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
ResourceGroupsfor theTargetTypeparameter.TargetAccountsDescription: (Optional) The ID of the AWS 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
TargetAccountsorTargetOrganizationalUnits.TargetOrganizationalUnitsDescription: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to.
TargetRegionsDescription: (Required) A comma separated list of AWS Regions you want to deploy the configuration to.
Host Management (Type: AWS QuickSetupType-SSMHostMgmt) - -
UpdateSsmAgentDescription: (Optional) A boolean value that determines whether the SSM Agent is updated on the target instances every 2 weeks. The default value is "
true".UpdateEc2LaunchAgentDescription: (Optional) A boolean value that determines whether the EC2 Launch agent is updated on the target instances every month. The default value is "
false".CollectInventoryDescription: (Optional) A boolean value that determines whether instance metadata is collected on the target instances every 30 minutes. The default value is "
true".ScanInstancesDescription: (Optional) A boolean value that determines whether the target instances are scanned daily for available patches. The default value is "
true".InstallCloudWatchAgentDescription: (Optional) A boolean value that determines whether the Amazon CloudWatch agent is installed on the target instances. The default value is "
false".UpdateCloudWatchAgentDescription: (Optional) A boolean value that determines whether the Amazon CloudWatch agent is updated on the target instances every month. The default value is "
false".IsPolicyAttachAllowedDescription: (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".TargetTypeDescription: (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, andTags. Use*to target all instances in the account.TargetInstancesDescription: (Optional) A comma separated list of instance IDs. You must provide a value for this parameter if you specify
InstanceIdsfor theTargetTypeparameter.TargetTagKeyDescription: (Optional) The tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify
Tagsfor theTargetTypeparameter.TargetTagValueDescription: (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
Tagsfor theTargetTypeparameter.ResourceGroupNameDescription: (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
ResourceGroupsfor theTargetTypeparameter.TargetAccountsDescription: (Optional) The ID of the AWS 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
TargetAccountsorTargetOrganizationalUnits.TargetOrganizationalUnitsDescription: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to.
TargetRegionsDescription: (Required) A comma separated list of AWS Regions you want to deploy the configuration to.
OpsCenter (Type: AWS QuickSetupType-SSMOpsCenter) - -
DelegatedAccountIdDescription: (Required) The ID of the delegated administrator account.
TargetOrganizationalUnitsDescription: (Required) A comma separated list of organizational units (OUs) you want to deploy the configuration to.
TargetRegionsDescription: (Required) A comma separated list of AWS Regions you want to deploy the configuration to.
Patch Policy (Type: AWS QuickSetupType-PatchPolicy) - -
PatchPolicyNameDescription: (Required) A name for the patch policy. The value you provide is applied to target Amazon EC2 instances as a tag.
SelectedPatchBaselinesDescription: (Required) An array of JSON objects containing the information for the patch baselines to include in your patch policy.
PatchBaselineUseDefaultDescription: (Optional) A value that determines whether the selected patch baselines are all AWS provided. Supported values are
defaultandcustom.PatchBaselineRegionDescription: (Required) The AWS Region where the patch baseline exist.
ConfigurationOptionsPatchOperationDescription: (Optional) Determines whether target instances scan for available patches, or scan and install available patches. The valid values are
ScanandScanAndInstall. The default value for the parameter isScan.ConfigurationOptionsScanValueDescription: (Optional) A cron expression that is used as the schedule for when instances scan for available patches.
ConfigurationOptionsInstallValueDescription: (Optional) A cron expression that is used as the schedule for when instances install available patches.
ConfigurationOptionsScanNextIntervalDescription: (Optional) A boolean value that determines whether instances should scan for available patches at the next cron interval. The default value is "
false".ConfigurationOptionsInstallNextIntervalDescription: (Optional) A boolean value that determines whether instances should scan for available patches at the next cron interval. The default value is "
false".RebootOptionDescription: (Optional) Determines whether instances are rebooted after patches are installed. Valid values are
RebootIfNeededandNoReboot.IsPolicyAttachAllowedDescription: (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".OutputLogEnableS3Description: (Optional) A boolean value that determines whether command output logs are sent to Amazon S3.
OutputS3LocationDescription: (Optional) Information about the Amazon S3 bucket where you want to store the output details of the request.
OutputBucketRegionDescription: (Optional) The AWS Region where the Amazon S3 bucket you want to deliver command output to is located.
OutputS3BucketNameDescription: (Optional) The name of the Amazon S3 bucket you want to deliver command output to.
OutputS3KeyPrefixDescription: (Optional) The key prefix you want to use in the custom Amazon S3 bucket.
TargetTypeDescription: (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, andTags. Use*to target all instances in the account.TargetInstancesDescription: (Optional) A comma separated list of instance IDs. You must provide a value for this parameter if you specify
InstanceIdsfor theTargetTypeparameter.TargetTagKeyDescription: (Required) The tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify
Tagsfor theTargetTypeparameter.TargetTagValueDescription: (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
Tagsfor theTargetTypeparameter.ResourceGroupNameDescription: (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
ResourceGroupsfor theTargetTypeparameter.TargetAccountsDescription: (Optional) The ID of the AWS 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
TargetAccountsorTargetOrganizationalUnits.TargetOrganizationalUnitsDescription: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to.
TargetRegionsDescription: (Required) A comma separated list of AWS Regions you want to deploy the configuration to.
Resource Explorer (Type: AWS QuickSetupType-ResourceExplorer) - -
SelectedAggregatorRegionDescription: (Required) The AWS Region where you want to create the aggregator index.
ReplaceExistingAggregatorDescription: (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.TargetOrganizationalUnitsDescription: (Required) A comma separated list of organizational units (OUs) you want to deploy the configuration to.
TargetRegionsDescription: (Required) A comma separated list of AWS Regions you want to deploy the configuration to.
Resource Scheduler (Type: AWS QuickSetupType-Scheduler) - -
TargetTagKeyDescription: (Required) The tag key assigned to the instances you want to target.
TargetTagValueDescription: (Required) The value of the tag key assigned to the instances you want to target.
ICalendarStringDescription: (Required) An iCalendar formatted string containing the schedule you want Change Manager to use.
TargetAccountsDescription: (Optional) The ID of the AWS 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
TargetAccountsorTargetOrganizationalUnits.TargetOrganizationalUnitsDescription: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to.
TargetRegionsDescription: (Required) A comma separated list of AWS Regions you want to deploy the configuration to.
type
Type:
string
The type of the Quick Setup configuration.
id?
Type:
string
(optional)
The ID of the configuration definition.
localDeploymentAdministrationRoleArn?
Type:
string
(optional)
The ARN of the IAM role used to administrate local configuration deployments.
Although this element is listed as "Required: No", a value can be omitted only for organizational deployments of types other than
AWSQuickSetupType-PatchPolicy. A value must be provided when you are running an organizational deployment for a patch policy or running any type of deployment for a single account.
localDeploymentExecutionRoleName?
Type:
string
(optional)
The name of the IAM role used to deploy local configurations.
Although this element is listed as "Required: No", a value can be omitted only for organizational deployments of types other than
AWSQuickSetupType-PatchPolicy. A value must be provided when you are running an organizational deployment for a patch policy or running any type of deployment for a single account.
typeVersion?
Type:
string
(optional)
The version of the Quick Setup type used.

.NET
Go
Java
Python
TypeScript