Package com.pulumi.aws.cfg.inputs
Class ConformancePackState.Builder
- java.lang.Object
-
- com.pulumi.aws.cfg.inputs.ConformancePackState.Builder
-
- Enclosing class:
- ConformancePackState
public static final class ConformancePackState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ConformancePackState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ConformancePackState defaults)
-
-
Method Detail
-
arn
public ConformancePackState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- ARN of the conformance pack.- Returns:
- builder
-
arn
public ConformancePackState.Builder arn(java.lang.String arn)
- Parameters:
arn- ARN of the conformance pack.- Returns:
- builder
-
deliveryS3Bucket
public ConformancePackState.Builder deliveryS3Bucket(@Nullable com.pulumi.core.Output<java.lang.String> deliveryS3Bucket)
- Parameters:
deliveryS3Bucket- Amazon S3 bucket where AWS Config stores conformance pack templates. Maximum length of 63.- Returns:
- builder
-
deliveryS3Bucket
public ConformancePackState.Builder deliveryS3Bucket(java.lang.String deliveryS3Bucket)
- Parameters:
deliveryS3Bucket- Amazon S3 bucket where AWS Config stores conformance pack templates. Maximum length of 63.- Returns:
- builder
-
deliveryS3KeyPrefix
public ConformancePackState.Builder deliveryS3KeyPrefix(@Nullable com.pulumi.core.Output<java.lang.String> deliveryS3KeyPrefix)
- Parameters:
deliveryS3KeyPrefix- The prefix for the Amazon S3 bucket. Maximum length of 1024.- Returns:
- builder
-
deliveryS3KeyPrefix
public ConformancePackState.Builder deliveryS3KeyPrefix(java.lang.String deliveryS3KeyPrefix)
- Parameters:
deliveryS3KeyPrefix- The prefix for the Amazon S3 bucket. Maximum length of 1024.- Returns:
- builder
-
inputParameters
public ConformancePackState.Builder inputParameters(@Nullable com.pulumi.core.Output<java.util.List<ConformancePackInputParameterArgs>> inputParameters)
- Parameters:
inputParameters- Set of configuration blocks describing input parameters passed to the conformance pack template. Documented below. When configured, the parameters must also be included in the `templateBody` or in the template stored in Amazon S3 if using `templateS3Uri`.- Returns:
- builder
-
inputParameters
public ConformancePackState.Builder inputParameters(java.util.List<ConformancePackInputParameterArgs> inputParameters)
- Parameters:
inputParameters- Set of configuration blocks describing input parameters passed to the conformance pack template. Documented below. When configured, the parameters must also be included in the `templateBody` or in the template stored in Amazon S3 if using `templateS3Uri`.- Returns:
- builder
-
inputParameters
public ConformancePackState.Builder inputParameters(ConformancePackInputParameterArgs... inputParameters)
- Parameters:
inputParameters- Set of configuration blocks describing input parameters passed to the conformance pack template. Documented below. When configured, the parameters must also be included in the `templateBody` or in the template stored in Amazon S3 if using `templateS3Uri`.- Returns:
- builder
-
name
public ConformancePackState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- The name of the conformance pack. Must begin with a letter and contain from 1 to 256 alphanumeric characters and hyphens.- Returns:
- builder
-
name
public ConformancePackState.Builder name(java.lang.String name)
- Parameters:
name- The name of the conformance pack. Must begin with a letter and contain from 1 to 256 alphanumeric characters and hyphens.- Returns:
- builder
-
region
public ConformancePackState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public ConformancePackState.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
templateBody
public ConformancePackState.Builder templateBody(@Nullable com.pulumi.core.Output<java.lang.String> templateBody)
- Parameters:
templateBody- A string containing full conformance pack template body. Maximum length of 51200. Drift detection is not possible with this argument.- Returns:
- builder
-
templateBody
public ConformancePackState.Builder templateBody(java.lang.String templateBody)
- Parameters:
templateBody- A string containing full conformance pack template body. Maximum length of 51200. Drift detection is not possible with this argument.- Returns:
- builder
-
templateS3Uri
public ConformancePackState.Builder templateS3Uri(@Nullable com.pulumi.core.Output<java.lang.String> templateS3Uri)
- Parameters:
templateS3Uri- Location of file, e.g., `s3://bucketname/prefix`, containing the template body. The URI must point to the conformance pack template that is located in an Amazon S3 bucket in the same region as the conformance pack. Maximum length of 1024. Drift detection is not possible with this argument. > **Note:** If both `templateBody` and `templateS3Uri` are specified, AWS Config uses the `templateS3Uri` and ignores the `templateBody`.- Returns:
- builder
-
templateS3Uri
public ConformancePackState.Builder templateS3Uri(java.lang.String templateS3Uri)
- Parameters:
templateS3Uri- Location of file, e.g., `s3://bucketname/prefix`, containing the template body. The URI must point to the conformance pack template that is located in an Amazon S3 bucket in the same region as the conformance pack. Maximum length of 1024. Drift detection is not possible with this argument. > **Note:** If both `templateBody` and `templateS3Uri` are specified, AWS Config uses the `templateS3Uri` and ignores the `templateBody`.- Returns:
- builder
-
build
public ConformancePackState build()
-
-