aws-native.configuration.ConformancePack
A conformance pack is a collection of AWS Config rules and remediation actions that can be easily deployed as a single entity in an account and a region or across an entire AWS Organization.
Example Usage
Example
using System.Collections.Generic;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var conformancePack = new AwsNative.Configuration.ConformancePack("conformancePack", new()
{
ConformancePackName = "ConformancePackName",
DeliveryS3Bucket = "DeliveryS3Bucket",
TemplateS3Uri = "s3://bucketname/prefix",
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/configuration"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := configuration.NewConformancePack(ctx, "conformancePack", &configuration.ConformancePackArgs{
ConformancePackName: pulumi.String("ConformancePackName"),
DeliveryS3Bucket: pulumi.String("DeliveryS3Bucket"),
TemplateS3Uri: pulumi.String("s3://bucketname/prefix"),
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
conformance_pack = aws_native.configuration.ConformancePack("conformancePack",
conformance_pack_name="ConformancePackName",
delivery_s3_bucket="DeliveryS3Bucket",
template_s3_uri="s3://bucketname/prefix")
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const conformancePack = new aws_native.configuration.ConformancePack("conformancePack", {
conformancePackName: "ConformancePackName",
deliveryS3Bucket: "DeliveryS3Bucket",
templateS3Uri: "s3://bucketname/prefix",
});
Coming soon!
Example
using System.Collections.Generic;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var cloudFormationCanaryPack = new AwsNative.Configuration.ConformancePack("cloudFormationCanaryPack", new()
{
ConformancePackName = "ConformancePackName",
DeliveryS3Bucket = "DeliveryS3Bucket",
TemplateS3Uri = "s3://bucketname/prefix",
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/configuration"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := configuration.NewConformancePack(ctx, "cloudFormationCanaryPack", &configuration.ConformancePackArgs{
ConformancePackName: pulumi.String("ConformancePackName"),
DeliveryS3Bucket: pulumi.String("DeliveryS3Bucket"),
TemplateS3Uri: pulumi.String("s3://bucketname/prefix"),
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
cloud_formation_canary_pack = aws_native.configuration.ConformancePack("cloudFormationCanaryPack",
conformance_pack_name="ConformancePackName",
delivery_s3_bucket="DeliveryS3Bucket",
template_s3_uri="s3://bucketname/prefix")
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const cloudFormationCanaryPack = new aws_native.configuration.ConformancePack("cloudFormationCanaryPack", {
conformancePackName: "ConformancePackName",
deliveryS3Bucket: "DeliveryS3Bucket",
templateS3Uri: "s3://bucketname/prefix",
});
Coming soon!
Create ConformancePack Resource
new ConformancePack(name: string, args?: ConformancePackArgs, opts?: CustomResourceOptions);
@overload
def ConformancePack(resource_name: str,
opts: Optional[ResourceOptions] = None,
conformance_pack_input_parameters: Optional[Sequence[ConformancePackInputParameterArgs]] = None,
conformance_pack_name: Optional[str] = None,
delivery_s3_bucket: Optional[str] = None,
delivery_s3_key_prefix: Optional[str] = None,
template_body: Optional[str] = None,
template_s3_uri: Optional[str] = None,
template_ssm_document_details: Optional[TemplateSSMDocumentDetailsPropertiesArgs] = None)
@overload
def ConformancePack(resource_name: str,
args: Optional[ConformancePackArgs] = None,
opts: Optional[ResourceOptions] = None)
func NewConformancePack(ctx *Context, name string, args *ConformancePackArgs, opts ...ResourceOption) (*ConformancePack, error)
public ConformancePack(string name, ConformancePackArgs? args = null, CustomResourceOptions? opts = null)
public ConformancePack(String name, ConformancePackArgs args)
public ConformancePack(String name, ConformancePackArgs args, CustomResourceOptions options)
type: aws-native:configuration:ConformancePack
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConformancePackArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ConformancePackArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ConformancePackArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConformancePackArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConformancePackArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ConformancePack Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ConformancePack resource accepts the following input properties:
- Conformance
Pack List<Pulumi.Input Parameters Aws Native. Configuration. Inputs. Conformance Pack Input Parameter Args> A list of ConformancePackInputParameter objects.
- Conformance
Pack stringName Name of the conformance pack which will be assigned as the unique identifier.
- Delivery
S3Bucket string AWS Config stores intermediate files while processing conformance pack template.
- Delivery
S3Key stringPrefix The prefix for delivery S3 bucket.
- Template
Body string A string containing full conformance pack template body. You can only specify one of the template body or template S3Uri fields.
- Template
S3Uri string Location of file containing the template body which points to the conformance pack template that is located in an Amazon S3 bucket. You can only specify one of the template body or template S3Uri fields.
- Template
SSMDocument Pulumi.Details Aws Native. Configuration. Inputs. Template SSMDocument Details Properties Args The TemplateSSMDocumentDetails object contains the name of the SSM document and the version of the SSM document.
- Conformance
Pack []ConformanceInput Parameters Pack Input Parameter Args A list of ConformancePackInputParameter objects.
- Conformance
Pack stringName Name of the conformance pack which will be assigned as the unique identifier.
- Delivery
S3Bucket string AWS Config stores intermediate files while processing conformance pack template.
- Delivery
S3Key stringPrefix The prefix for delivery S3 bucket.
- Template
Body string A string containing full conformance pack template body. You can only specify one of the template body or template S3Uri fields.
- Template
S3Uri string Location of file containing the template body which points to the conformance pack template that is located in an Amazon S3 bucket. You can only specify one of the template body or template S3Uri fields.
- Template
SSMDocument TemplateDetails SSMDocument Details Properties Args The TemplateSSMDocumentDetails object contains the name of the SSM document and the version of the SSM document.
- conformance
Pack List<ConformanceInput Parameters Pack Input Parameter Args> A list of ConformancePackInputParameter objects.
- conformance
Pack StringName Name of the conformance pack which will be assigned as the unique identifier.
- delivery
S3Bucket String AWS Config stores intermediate files while processing conformance pack template.
- delivery
S3Key StringPrefix The prefix for delivery S3 bucket.
- template
Body String A string containing full conformance pack template body. You can only specify one of the template body or template S3Uri fields.
- template
S3Uri String Location of file containing the template body which points to the conformance pack template that is located in an Amazon S3 bucket. You can only specify one of the template body or template S3Uri fields.
- template
SSMDocument TemplateDetails SSMDocument Details Properties Args The TemplateSSMDocumentDetails object contains the name of the SSM document and the version of the SSM document.
- conformance
Pack ConformanceInput Parameters Pack Input Parameter Args[] A list of ConformancePackInputParameter objects.
- conformance
Pack stringName Name of the conformance pack which will be assigned as the unique identifier.
- delivery
S3Bucket string AWS Config stores intermediate files while processing conformance pack template.
- delivery
S3Key stringPrefix The prefix for delivery S3 bucket.
- template
Body string A string containing full conformance pack template body. You can only specify one of the template body or template S3Uri fields.
- template
S3Uri string Location of file containing the template body which points to the conformance pack template that is located in an Amazon S3 bucket. You can only specify one of the template body or template S3Uri fields.
- template
SSMDocument TemplateDetails SSMDocument Details Properties Args The TemplateSSMDocumentDetails object contains the name of the SSM document and the version of the SSM document.
- conformance_
pack_ Sequence[Conformanceinput_ parameters Pack Input Parameter Args] A list of ConformancePackInputParameter objects.
- conformance_
pack_ strname Name of the conformance pack which will be assigned as the unique identifier.
- delivery_
s3_ strbucket AWS Config stores intermediate files while processing conformance pack template.
- delivery_
s3_ strkey_ prefix The prefix for delivery S3 bucket.
- template_
body str A string containing full conformance pack template body. You can only specify one of the template body or template S3Uri fields.
- template_
s3_ struri Location of file containing the template body which points to the conformance pack template that is located in an Amazon S3 bucket. You can only specify one of the template body or template S3Uri fields.
- template_
ssm_ Templatedocument_ details SSMDocument Details Properties Args The TemplateSSMDocumentDetails object contains the name of the SSM document and the version of the SSM document.
- conformance
Pack List<Property Map>Input Parameters A list of ConformancePackInputParameter objects.
- conformance
Pack StringName Name of the conformance pack which will be assigned as the unique identifier.
- delivery
S3Bucket String AWS Config stores intermediate files while processing conformance pack template.
- delivery
S3Key StringPrefix The prefix for delivery S3 bucket.
- template
Body String A string containing full conformance pack template body. You can only specify one of the template body or template S3Uri fields.
- template
S3Uri String Location of file containing the template body which points to the conformance pack template that is located in an Amazon S3 bucket. You can only specify one of the template body or template S3Uri fields.
- template
SSMDocument Property MapDetails The TemplateSSMDocumentDetails object contains the name of the SSM document and the version of the SSM document.
Outputs
All input properties are implicitly available as output properties. Additionally, the ConformancePack resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Supporting Types
ConformancePackInputParameter
- Parameter
Name string - Parameter
Value string
- Parameter
Name string - Parameter
Value string
- parameter
Name String - parameter
Value String
- parameter
Name string - parameter
Value string
- parameter_
name str - parameter_
value str
- parameter
Name String - parameter
Value String
TemplateSSMDocumentDetailsProperties
- Document
Name string - Document
Version string
- Document
Name string - Document
Version string
- document
Name String - document
Version String
- document
Name string - document
Version string
- document_
name str - document_
version str
- document
Name String - document
Version String
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0