You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::AppConfig::Types::CreateConfigurationProfileRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateConfigurationProfileRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  application_id: "Id", # required
  name: "Name", # required
  description: "Description",
  location_uri: "Uri", # required
  retrieval_role_arn: "RoleArn",
  validators: [
    {
      type: "JSON_SCHEMA", # required, accepts JSON_SCHEMA, LAMBDA
      content: "StringWithLengthBetween0And32768", # required
    },
  ],
  tags: {
    "TagKey" => "TagValue",
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#application_idString

The application ID.

Returns:

  • (String)

    The application ID.

#descriptionString

A description of the configuration profile.

Returns:

  • (String)

    A description of the configuration profile.

#location_uriString

A URI to locate the configuration. You can specify a Systems Manager (SSM) document, an SSM Parameter Store parameter, or an Amazon S3 object. For an SSM document, specify either the document name in the format ssm-document://<Document_name> or the Amazon Resource Name (ARN). For a parameter, specify either the parameter name in the format ssm-parameter://<Parameter_name> or the ARN. 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

Returns:

  • (String)

    A URI to locate the configuration.

#nameString

A name for the configuration profile.

Returns:

  • (String)

    A name for the configuration profile.

#retrieval_role_arnString

The ARN of an IAM role with permission to access the configuration at the specified LocationUri.

Returns:

  • (String)

    The ARN of an IAM role with permission to access the configuration at the specified LocationUri.

#tagsHash<String,String>

Metadata to assign to the configuration profile. Tags help organize and categorize your AppConfig resources. Each tag consists of a key and an optional value, both of which you define.

Returns:

  • (Hash<String,String>)

    Metadata to assign to the configuration profile.

#validatorsArray<Types::Validator>

A list of methods for validating the configuration.

Returns:

  • (Array<Types::Validator>)

    A list of methods for validating the configuration.