Interface CfnConfigurationProfileProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnConfigurationProfileProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:55.455Z") @Stability(Stable) public interface CfnConfigurationProfileProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnConfigurationProfile.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.appconfig.*;
 CfnConfigurationProfileProps cfnConfigurationProfileProps = CfnConfigurationProfileProps.builder()
         .applicationId("applicationId")
         .locationUri("locationUri")
         .name("name")
         // the properties below are optional
         .description("description")
         .retrievalRoleArn("retrievalRoleArn")
         .tags(List.of(TagsProperty.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .type("type")
         .validators(List.of(ValidatorsProperty.builder()
                 .content("content")
                 .type("type")
                 .build()))
         .build();
 
  • Method Details

    • getApplicationId

      @Stability(Stable) @NotNull String getApplicationId()
      The application ID.
    • getLocationUri

      @Stability(Stable) @NotNull String getLocationUri()
      A URI to locate the configuration. You can specify the following:.

      • For the AWS AppConfig hosted configuration store and for feature flags, specify hosted .
      • For an AWS Systems Manager Parameter Store parameter, specify either the parameter name in the format ssm-parameter://<parameter name> or the ARN.
      • For an AWS CodePipeline pipeline, specify the URI in the following format: codepipeline ://.
      • For an AWS Secrets Manager secret, specify the URI in the following format: secretsmanager ://.
      • For an Amazon S3 object, specify the URI in the following format: s3://<bucket>/<objectKey> . Here is an example: s3://my-bucket/my-app/us-east-1/my-config.json
      • For an SSM document, specify either the document name in the format ssm-document://<document name> or the Amazon Resource Name (ARN).
    • getName

      @Stability(Stable) @NotNull String getName()
      A name for the configuration profile.
    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      A description of the configuration profile.
    • getRetrievalRoleArn

      @Stability(Stable) @Nullable default String getRetrievalRoleArn()
      The ARN of an IAM role with permission to access the configuration at the specified LocationUri .

      A retrieval role ARN is not required for configurations stored in the AWS AppConfig hosted configuration store. It is required for all other sources that store your configuration.

    • getTags

      @Stability(Stable) @Nullable default List<CfnConfigurationProfile.TagsProperty> getTags()
      Metadata to assign to the configuration profile.

      Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.

    • getType

      @Stability(Stable) @Nullable default String getType()
      The type of configurations contained in the profile.

      AWS AppConfig supports feature flags and freeform configurations. We recommend you create feature flag configurations to enable or disable new features and freeform configurations to distribute configurations to an application. When calling this API, enter one of the following values for Type :

      AWS.AppConfig.FeatureFlags

      AWS.Freeform

    • getValidators

      @Stability(Stable) @Nullable default Object getValidators()
      A list of methods for validating the configuration.
    • builder

      @Stability(Stable) static CfnConfigurationProfileProps.Builder builder()
      Returns:
      a CfnConfigurationProfileProps.Builder of CfnConfigurationProfileProps