NAME

Paws::Config::PutOrganizationConfigRule - Arguments for method PutOrganizationConfigRule on Paws::Config

DESCRIPTION

This class represents the parameters used for calling the method PutOrganizationConfigRule on the AWS Config service. Use the attributes of this class as arguments to method PutOrganizationConfigRule.

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

SYNOPSIS

my $config = Paws->service('Config');
my $PutOrganizationConfigRuleResponse = $config->PutOrganizationConfigRule(
  OrganizationConfigRuleName => 'MyOrganizationConfigRuleName',
  ExcludedAccounts           => [ 'MyAccountId', ... ],           # OPTIONAL
  OrganizationCustomRuleMetadata => {
    LambdaFunctionArn => 'MyStringWithCharLimit256',    # min: 1, max: 256
    OrganizationConfigRuleTriggerTypes => [
      'ConfigurationItemChangeNotification',
      ... # values: ConfigurationItemChangeNotification, OversizedConfigurationItemChangeNotification, ScheduledNotification
    ],
    Description     => 'MyStringWithCharLimit256Min0',  # max: 256; OPTIONAL
    InputParameters =>
      'MyStringWithCharLimit2048',    # min: 1, max: 2048; OPTIONAL
    MaximumExecutionFrequency => 'One_Hour'
    , # values: One_Hour, Three_Hours, Six_Hours, Twelve_Hours, TwentyFour_Hours; OPTIONAL
    ResourceIdScope =>
      'MyStringWithCharLimit768',    # min: 1, max: 768; OPTIONAL
    ResourceTypesScope => [
      'MyStringWithCharLimit256', ...    # min: 1, max: 256
    ],    # max: 100; OPTIONAL
    TagKeyScope => 'MyStringWithCharLimit128',  # min: 1, max: 128; OPTIONAL
    TagValueScope => 'MyStringWithCharLimit256',    # min: 1, max: 256
  },    # OPTIONAL
  OrganizationManagedRuleMetadata => {
    RuleIdentifier  => 'MyStringWithCharLimit256',      # min: 1, max: 256
    Description     => 'MyStringWithCharLimit256Min0',  # max: 256; OPTIONAL
    InputParameters =>
      'MyStringWithCharLimit2048',    # min: 1, max: 2048; OPTIONAL
    MaximumExecutionFrequency => 'One_Hour'
    , # values: One_Hour, Three_Hours, Six_Hours, Twelve_Hours, TwentyFour_Hours; OPTIONAL
    ResourceIdScope =>
      'MyStringWithCharLimit768',    # min: 1, max: 768; OPTIONAL
    ResourceTypesScope => [
      'MyStringWithCharLimit256', ...    # min: 1, max: 256
    ],    # max: 100; OPTIONAL
    TagKeyScope => 'MyStringWithCharLimit128',  # min: 1, max: 128; OPTIONAL
    TagValueScope => 'MyStringWithCharLimit256',    # min: 1, max: 256
  },    # OPTIONAL
);

# Results:
my $OrganizationConfigRuleArn =
  $PutOrganizationConfigRuleResponse->OrganizationConfigRuleArn;

# Returns a L<Paws::Config::PutOrganizationConfigRuleResponse> 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/config/PutOrganizationConfigRule

ATTRIBUTES

ExcludedAccounts => ArrayRef[Str|Undef]

A comma-separated list of accounts that you want to exclude from an organization config rule.

REQUIRED OrganizationConfigRuleName => Str

The name that you assign to an organization config rule.

OrganizationCustomRuleMetadata => Paws::Config::OrganizationCustomRuleMetadata

An OrganizationCustomRuleMetadata object.

OrganizationManagedRuleMetadata => Paws::Config::OrganizationManagedRuleMetadata

An OrganizationManagedRuleMetadata object.

SEE ALSO

This class forms part of Paws, documenting arguments for method PutOrganizationConfigRule in Paws::Config

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