The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::AppConfig::CreateConfigurationProfile - Arguments for method CreateConfigurationProfile on Paws::AppConfig

DESCRIPTION

This class represents the parameters used for calling the method CreateConfigurationProfile on the Amazon AppConfig service. Use the attributes of this class as arguments to method CreateConfigurationProfile.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateConfigurationProfile.

SYNOPSIS

    my $appconfig = Paws->service('AppConfig');
    my $ConfigurationProfile = $appconfig->CreateConfigurationProfile(
      ApplicationId    => 'MyId',
      LocationUri      => 'MyUri',
      Name             => 'MyName',
      Description      => 'MyDescription',    # OPTIONAL
      RetrievalRoleArn => 'MyRoleArn',        # OPTIONAL
      Tags             => {
        'MyTagKey' => 'MyTagValue',    # key: min: 1, max: 128, value: max: 256
      },    # OPTIONAL
      Validators => [
        {
          Content => 'MyStringWithLengthBetween0And32768',    # max: 32768
          Type    => 'JSON_SCHEMA',    # values: JSON_SCHEMA, LAMBDA

        },
        ...
      ],    # OPTIONAL
    );

    # Results:
    my $ApplicationId    = $ConfigurationProfile->ApplicationId;
    my $Description      = $ConfigurationProfile->Description;
    my $Id               = $ConfigurationProfile->Id;
    my $LocationUri      = $ConfigurationProfile->LocationUri;
    my $Name             = $ConfigurationProfile->Name;
    my $RetrievalRoleArn = $ConfigurationProfile->RetrievalRoleArn;
    my $Validators       = $ConfigurationProfile->Validators;

    # Returns a L<Paws::AppConfig::ConfigurationProfile> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/appconfig/CreateConfigurationProfile

ATTRIBUTES

REQUIRED ApplicationId => Str

The application ID.

Description => Str

A description of the configuration profile.

REQUIRED LocationUri => Str

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

REQUIRED Name => Str

A name for the configuration profile.

RetrievalRoleArn => Str

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

Tags => Paws::AppConfig::TagMap

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.

Validators => ArrayRef[Paws::AppConfig::Validator]

A list of methods for validating the configuration.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateConfigurationProfile in Paws::AppConfig

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues