public static interface PutConformancePackRequest.Builder extends ConfigRequest.Builder, SdkPojo, CopyableBuilder<PutConformancePackRequest.Builder,PutConformancePackRequest>
| Modifier and Type | Method and Description |
|---|---|
PutConformancePackRequest.Builder |
conformancePackInputParameters(Collection<ConformancePackInputParameter> conformancePackInputParameters)
A list of
ConformancePackInputParameter objects. |
PutConformancePackRequest.Builder |
conformancePackInputParameters(ConformancePackInputParameter... conformancePackInputParameters)
A list of
ConformancePackInputParameter objects. |
PutConformancePackRequest.Builder |
conformancePackInputParameters(Consumer<ConformancePackInputParameter.Builder>... conformancePackInputParameters)
A list of
ConformancePackInputParameter objects. |
PutConformancePackRequest.Builder |
conformancePackName(String conformancePackName)
The unique name of the conformance pack you want to deploy.
|
PutConformancePackRequest.Builder |
deliveryS3Bucket(String deliveryS3Bucket)
The name of the Amazon S3 bucket where Config stores conformance pack templates.
|
PutConformancePackRequest.Builder |
deliveryS3KeyPrefix(String deliveryS3KeyPrefix)
The prefix for the Amazon S3 bucket.
|
PutConformancePackRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutConformancePackRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
PutConformancePackRequest.Builder |
templateBody(String templateBody)
A string containing the full conformance pack template body.
|
PutConformancePackRequest.Builder |
templateS3Uri(String templateS3Uri)
The location of the file containing the template body (
s3://bucketname/prefix). |
default PutConformancePackRequest.Builder |
templateSSMDocumentDetails(Consumer<TemplateSSMDocumentDetails.Builder> templateSSMDocumentDetails)
An object of type
TemplateSSMDocumentDetails, which contains the name or the Amazon Resource
Name (ARN) of the Amazon Web Services Systems Manager document (SSM document) and the version of the SSM
document that is used to create a conformance pack. |
PutConformancePackRequest.Builder |
templateSSMDocumentDetails(TemplateSSMDocumentDetails templateSSMDocumentDetails)
An object of type
TemplateSSMDocumentDetails, which contains the name or the Amazon Resource
Name (ARN) of the Amazon Web Services Systems Manager document (SSM document) and the version of the SSM
document that is used to create a conformance pack. |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutConformancePackRequest.Builder conformancePackName(String conformancePackName)
The unique name of the conformance pack you want to deploy.
conformancePackName - The unique name of the conformance pack you want to deploy.PutConformancePackRequest.Builder templateS3Uri(String templateS3Uri)
The location of the file containing the template body (s3://bucketname/prefix). The uri must
point to a conformance pack template (max size: 300 KB) that is located in an Amazon S3 bucket in the same
Region as the conformance pack.
You must have access to read Amazon S3 bucket. In addition, in order to ensure a successful deployment, the template object must not be in an archived storage class if this parameter is passed.
templateS3Uri - The location of the file containing the template body (s3://bucketname/prefix). The uri
must point to a conformance pack template (max size: 300 KB) that is located in an Amazon S3 bucket in
the same Region as the conformance pack. You must have access to read Amazon S3 bucket. In addition, in order to ensure a successful deployment, the template object must not be in an archived storage class if this parameter is passed.
PutConformancePackRequest.Builder templateBody(String templateBody)
A string containing the full conformance pack template body. The structure containing the template body has a minimum length of 1 byte and a maximum length of 51,200 bytes.
You can use a YAML template with two resource types: Config rule (AWS::Config::ConfigRule) and
remediation action (AWS::Config::RemediationConfiguration).
templateBody - A string containing the full conformance pack template body. The structure containing the template
body has a minimum length of 1 byte and a maximum length of 51,200 bytes.
You can use a YAML template with two resource types: Config rule (AWS::Config::ConfigRule
) and remediation action (AWS::Config::RemediationConfiguration).
PutConformancePackRequest.Builder deliveryS3Bucket(String deliveryS3Bucket)
The name of the Amazon S3 bucket where Config stores conformance pack templates.
This field is optional.
deliveryS3Bucket - The name of the Amazon S3 bucket where Config stores conformance pack templates. This field is optional.
PutConformancePackRequest.Builder deliveryS3KeyPrefix(String deliveryS3KeyPrefix)
The prefix for the Amazon S3 bucket.
This field is optional.
deliveryS3KeyPrefix - The prefix for the Amazon S3 bucket. This field is optional.
PutConformancePackRequest.Builder conformancePackInputParameters(Collection<ConformancePackInputParameter> conformancePackInputParameters)
A list of ConformancePackInputParameter objects.
conformancePackInputParameters - A list of ConformancePackInputParameter objects.PutConformancePackRequest.Builder conformancePackInputParameters(ConformancePackInputParameter... conformancePackInputParameters)
A list of ConformancePackInputParameter objects.
conformancePackInputParameters - A list of ConformancePackInputParameter objects.PutConformancePackRequest.Builder conformancePackInputParameters(Consumer<ConformancePackInputParameter.Builder>... conformancePackInputParameters)
A list of ConformancePackInputParameter objects.
ConformancePackInputParameter.Builder avoiding the need
to create one manually via
ConformancePackInputParameter.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #conformancePackInputParameters(List.
conformancePackInputParameters - a consumer that will call methods on
ConformancePackInputParameter.Builder#conformancePackInputParameters(java.util.Collection) PutConformancePackRequest.Builder templateSSMDocumentDetails(TemplateSSMDocumentDetails templateSSMDocumentDetails)
An object of type TemplateSSMDocumentDetails, which contains the name or the Amazon Resource
Name (ARN) of the Amazon Web Services Systems Manager document (SSM document) and the version of the SSM
document that is used to create a conformance pack.
templateSSMDocumentDetails - An object of type TemplateSSMDocumentDetails, which contains the name or the Amazon
Resource Name (ARN) of the Amazon Web Services Systems Manager document (SSM document) and the version
of the SSM document that is used to create a conformance pack.default PutConformancePackRequest.Builder templateSSMDocumentDetails(Consumer<TemplateSSMDocumentDetails.Builder> templateSSMDocumentDetails)
An object of type TemplateSSMDocumentDetails, which contains the name or the Amazon Resource
Name (ARN) of the Amazon Web Services Systems Manager document (SSM document) and the version of the SSM
document that is used to create a conformance pack.
TemplateSSMDocumentDetails.Builder
avoiding the need to create one manually via TemplateSSMDocumentDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to templateSSMDocumentDetails(TemplateSSMDocumentDetails).
templateSSMDocumentDetails - a consumer that will call methods on TemplateSSMDocumentDetails.BuildertemplateSSMDocumentDetails(TemplateSSMDocumentDetails)PutConformancePackRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutConformancePackRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.