Skip to content

Resource: awsSsmPatchGroup

Provides an SSM Patch Group resource

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
const awsSsmPatchBaselineProduction = new aws.ssmPatchBaseline.SsmPatchBaseline(
  this,
  "production",
  {
    approvedPatches: ["KB123456"],
    name: "patch-baseline",
  }
);
new aws.ssmPatchGroup.SsmPatchGroup(this, "patchgroup", {
  baselineId: awsSsmPatchBaselineProduction.id,
  patchGroup: "patch-group-name",
});

Argument Reference

The following arguments are supported:

  • baselineId - (Required) The ID of the patch baseline to register the patch group with.
  • patchGroup - (Required) The name of the patch group that should be registered with the patch baseline.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • id - The name of the patch group and ID of the patch baseline separated by a comma (,).