Class: Aws::CodePipeline::Types::RuleDeclaration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb

Overview

Represents information about the rule to be created for an associated condition. An example would be creating a new rule for an entry condition, such as a rule that checks for a test result before allowing the run to enter the deployment stage.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#configurationHash<String,String>

The action configuration fields for the rule.

Returns:

  • (Hash<String,String>)


4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 4392

class RuleDeclaration < Struct.new(
  :name,
  :rule_type_id,
  :configuration,
  :input_artifacts,
  :role_arn,
  :region,
  :timeout_in_minutes)
  SENSITIVE = []
  include Aws::Structure
end

#input_artifactsArray<Types::InputArtifact>

The input artifacts fields for the rule, such as specifying an input file for the rule.

Returns:



4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 4392

class RuleDeclaration < Struct.new(
  :name,
  :rule_type_id,
  :configuration,
  :input_artifacts,
  :role_arn,
  :region,
  :timeout_in_minutes)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the rule that is created for the condition, such as CheckAllResults.

Returns:

  • (String)


4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 4392

class RuleDeclaration < Struct.new(
  :name,
  :rule_type_id,
  :configuration,
  :input_artifacts,
  :role_arn,
  :region,
  :timeout_in_minutes)
  SENSITIVE = []
  include Aws::Structure
end

#regionString

The Region for the condition associated with the rule.

Returns:

  • (String)


4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 4392

class RuleDeclaration < Struct.new(
  :name,
  :rule_type_id,
  :configuration,
  :input_artifacts,
  :role_arn,
  :region,
  :timeout_in_minutes)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

The pipeline role ARN associated with the rule.

Returns:

  • (String)


4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 4392

class RuleDeclaration < Struct.new(
  :name,
  :rule_type_id,
  :configuration,
  :input_artifacts,
  :role_arn,
  :region,
  :timeout_in_minutes)
  SENSITIVE = []
  include Aws::Structure
end

#rule_type_idTypes::RuleTypeId

The ID for the rule type, which is made up of the combined values for category, owner, provider, and version.

Returns:



4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 4392

class RuleDeclaration < Struct.new(
  :name,
  :rule_type_id,
  :configuration,
  :input_artifacts,
  :role_arn,
  :region,
  :timeout_in_minutes)
  SENSITIVE = []
  include Aws::Structure
end

#timeout_in_minutesInteger

The action timeout for the rule.

Returns:

  • (Integer)


4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 4392

class RuleDeclaration < Struct.new(
  :name,
  :rule_type_id,
  :configuration,
  :input_artifacts,
  :role_arn,
  :region,
  :timeout_in_minutes)
  SENSITIVE = []
  include Aws::Structure
end