The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::OpsWorksCM::ExportServerEngineAttribute - Arguments for method ExportServerEngineAttribute on Paws::OpsWorksCM

DESCRIPTION

This class represents the parameters used for calling the method ExportServerEngineAttribute on the AWS OpsWorks for Chef Automate service. Use the attributes of this class as arguments to method ExportServerEngineAttribute.

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

SYNOPSIS

    my $opsworks-cm = Paws->service('OpsWorksCM');
    my $ExportServerEngineAttributeResponse =
      $opsworks -cm->ExportServerEngineAttribute(
      ExportAttributeName => 'MyString',
      ServerName          => 'MyServerName',
      InputAttributes     => [
        {
          Name  => 'MyEngineAttributeName',     # OPTIONAL
          Value => 'MyEngineAttributeValue',    # OPTIONAL
        },
        ...
      ],                                        # OPTIONAL
      );

    # Results:
    my $EngineAttribute = $ExportServerEngineAttributeResponse->EngineAttribute;
    my $ServerName      = $ExportServerEngineAttributeResponse->ServerName;

    # Returns a L<Paws::OpsWorksCM::ExportServerEngineAttributeResponse> 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/opsworks-cm/latest/APIReference/API_ExportServerEngineAttribute.html

ATTRIBUTES

REQUIRED ExportAttributeName => Str

The name of the export attribute. Currently, the supported export attribute is Userdata. This exports a user data script that includes parameters and values provided in the InputAttributes list.

InputAttributes => ArrayRef[Paws::OpsWorksCM::EngineAttribute]

The list of engine attributes. The list type is EngineAttribute. An EngineAttribute list item is a pair that includes an attribute name and its value. For the Userdata ExportAttributeName, the following are supported engine attribute names.

  • RunList In Chef, a list of roles or recipes that are run in the specified order. In Puppet, this parameter is ignored.

  • OrganizationName In Chef, an organization name. AWS OpsWorks for Chef Automate always creates the organization default. In Puppet, this parameter is ignored.

  • NodeEnvironment In Chef, a node environment (for example, development, staging, or one-box). In Puppet, this parameter is ignored.

  • NodeClientVersion In Chef, the version of the Chef engine (three numbers separated by dots, such as 13.8.5). If this attribute is empty, OpsWorks for Chef Automate uses the most current version. In Puppet, this parameter is ignored.

REQUIRED ServerName => Str

The name of the server from which you are exporting the attribute.

SEE ALSO

This class forms part of Paws, documenting arguments for method ExportServerEngineAttribute in Paws::OpsWorksCM

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