libZSservicesZSamazonka-appconfigZSamazonka-appconfig
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AppConfig.CreateConfigurationProfile

Description

Information that enables AppConfig to access the configuration source. Valid configuration sources include Systems Manager (SSM) documents, SSM Parameter Store parameters, and Amazon S3 objects. A configuration profile includes the following information.

  • The Uri location of the configuration data.
  • The AWS Identity and Access Management (IAM) role that provides access to the configuration data.
  • A validator for the configuration data. Available validators include either a JSON Schema or an AWS Lambda function.

For more information, see Create a Configuration and a Configuration Profile in the AWS AppConfig User Guide.

Synopsis

Creating a Request

data CreateConfigurationProfile Source #

See: newCreateConfigurationProfile smart constructor.

Constructors

CreateConfigurationProfile' 

Fields

  • retrievalRoleArn :: Maybe Text

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

  • validators :: Maybe [Validator]

    A list of methods for validating the configuration.

  • description :: Maybe Text

    A description of the configuration profile.

  • tags :: Maybe (HashMap Text Text)

    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.

  • applicationId :: Text

    The application ID.

  • name :: Text

    A name for the configuration profile.

  • locationUri :: Text

    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

Instances

Instances details
Eq CreateConfigurationProfile Source # 
Instance details

Defined in Amazonka.AppConfig.CreateConfigurationProfile

Show CreateConfigurationProfile Source # 
Instance details

Defined in Amazonka.AppConfig.CreateConfigurationProfile

Generic CreateConfigurationProfile Source # 
Instance details

Defined in Amazonka.AppConfig.CreateConfigurationProfile

Associated Types

type Rep CreateConfigurationProfile :: Type -> Type #

NFData CreateConfigurationProfile Source # 
Instance details

Defined in Amazonka.AppConfig.CreateConfigurationProfile

Hashable CreateConfigurationProfile Source # 
Instance details

Defined in Amazonka.AppConfig.CreateConfigurationProfile

ToJSON CreateConfigurationProfile Source # 
Instance details

Defined in Amazonka.AppConfig.CreateConfigurationProfile

AWSRequest CreateConfigurationProfile Source # 
Instance details

Defined in Amazonka.AppConfig.CreateConfigurationProfile

ToHeaders CreateConfigurationProfile Source # 
Instance details

Defined in Amazonka.AppConfig.CreateConfigurationProfile

ToPath CreateConfigurationProfile Source # 
Instance details

Defined in Amazonka.AppConfig.CreateConfigurationProfile

ToQuery CreateConfigurationProfile Source # 
Instance details

Defined in Amazonka.AppConfig.CreateConfigurationProfile

type Rep CreateConfigurationProfile Source # 
Instance details

Defined in Amazonka.AppConfig.CreateConfigurationProfile

type Rep CreateConfigurationProfile = D1 ('MetaData "CreateConfigurationProfile" "Amazonka.AppConfig.CreateConfigurationProfile" "libZSservicesZSamazonka-appconfigZSamazonka-appconfig" 'False) (C1 ('MetaCons "CreateConfigurationProfile'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "retrievalRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "validators") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Validator])) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "locationUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateConfigurationProfile Source # 
Instance details

Defined in Amazonka.AppConfig.CreateConfigurationProfile

newCreateConfigurationProfile Source #

Create a value of CreateConfigurationProfile with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:retrievalRoleArn:CreateConfigurationProfile', createConfigurationProfile_retrievalRoleArn - The ARN of an IAM role with permission to access the configuration at the specified LocationUri.

$sel:validators:CreateConfigurationProfile', createConfigurationProfile_validators - A list of methods for validating the configuration.

$sel:description:CreateConfigurationProfile', createConfigurationProfile_description - A description of the configuration profile.

$sel:tags:CreateConfigurationProfile', createConfigurationProfile_tags - 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.

$sel:applicationId:CreateConfigurationProfile', createConfigurationProfile_applicationId - The application ID.

$sel:name:CreateConfigurationProfile', createConfigurationProfile_name - A name for the configuration profile.

$sel:locationUri:CreateConfigurationProfile', createConfigurationProfile_locationUri - 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

Request Lenses

createConfigurationProfile_retrievalRoleArn :: Lens' CreateConfigurationProfile (Maybe Text) Source #

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

createConfigurationProfile_validators :: Lens' CreateConfigurationProfile (Maybe [Validator]) Source #

A list of methods for validating the configuration.

createConfigurationProfile_tags :: Lens' CreateConfigurationProfile (Maybe (HashMap Text Text)) Source #

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.

createConfigurationProfile_locationUri :: Lens' CreateConfigurationProfile Text Source #

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

Destructuring the Response

data ConfigurationProfile Source #

See: newConfigurationProfile smart constructor.

Constructors

ConfigurationProfile' 

Fields

Instances

Instances details
Eq ConfigurationProfile Source # 
Instance details

Defined in Amazonka.AppConfig.Types.ConfigurationProfile

Show ConfigurationProfile Source # 
Instance details

Defined in Amazonka.AppConfig.Types.ConfigurationProfile

Generic ConfigurationProfile Source # 
Instance details

Defined in Amazonka.AppConfig.Types.ConfigurationProfile

Associated Types

type Rep ConfigurationProfile :: Type -> Type #

NFData ConfigurationProfile Source # 
Instance details

Defined in Amazonka.AppConfig.Types.ConfigurationProfile

Methods

rnf :: ConfigurationProfile -> () #

Hashable ConfigurationProfile Source # 
Instance details

Defined in Amazonka.AppConfig.Types.ConfigurationProfile

FromJSON ConfigurationProfile Source # 
Instance details

Defined in Amazonka.AppConfig.Types.ConfigurationProfile

type Rep ConfigurationProfile Source # 
Instance details

Defined in Amazonka.AppConfig.Types.ConfigurationProfile

type Rep ConfigurationProfile = D1 ('MetaData "ConfigurationProfile" "Amazonka.AppConfig.Types.ConfigurationProfile" "libZSservicesZSamazonka-appconfigZSamazonka-appconfig" 'False) (C1 ('MetaCons "ConfigurationProfile'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "retrievalRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "validators") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Validator])) :*: S1 ('MetaSel ('Just "locationUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newConfigurationProfile :: ConfigurationProfile Source #

Create a value of ConfigurationProfile with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:retrievalRoleArn:ConfigurationProfile', configurationProfile_retrievalRoleArn - The ARN of an IAM role with permission to access the configuration at the specified LocationUri.

$sel:validators:ConfigurationProfile', configurationProfile_validators - A list of methods for validating the configuration.

$sel:locationUri:ConfigurationProfile', configurationProfile_locationUri - The URI location of the configuration.

$sel:applicationId:ConfigurationProfile', configurationProfile_applicationId - The application ID.

$sel:name:ConfigurationProfile', configurationProfile_name - The name of the configuration profile.

$sel:id:ConfigurationProfile', configurationProfile_id - The configuration profile ID.

$sel:description:ConfigurationProfile', configurationProfile_description - The configuration profile description.

Response Lenses

configurationProfile_retrievalRoleArn :: Lens' ConfigurationProfile (Maybe Text) Source #

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

configurationProfile_validators :: Lens' ConfigurationProfile (Maybe [Validator]) Source #

A list of methods for validating the configuration.

configurationProfile_locationUri :: Lens' ConfigurationProfile (Maybe Text) Source #

The URI location of the configuration.

configurationProfile_name :: Lens' ConfigurationProfile (Maybe Text) Source #

The name of the configuration profile.

configurationProfile_description :: Lens' ConfigurationProfile (Maybe Text) Source #

The configuration profile description.