Class: Aws::CodeBuild::Types::PutResourcePolicyInput

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

Overview

Note:

When making an API call, you may pass PutResourcePolicyInput data as a hash:

{
  policy: "NonEmptyString", # required
  resource_arn: "NonEmptyString", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policyString

A JSON-formatted resource policy. For more information, see Sharing a Project and Sharing a Report Group in the CodeBuild User Guide.

Returns:

  • (String)


4826
4827
4828
4829
4830
4831
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 4826

class PutResourcePolicyInput < Struct.new(
  :policy,
  :resource_arn)
  SENSITIVE = []
  include Aws::Structure
end

#resource_arnString

The ARN of the Project or ReportGroup resource you want to associate with a resource policy.

Returns:

  • (String)


4826
4827
4828
4829
4830
4831
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 4826

class PutResourcePolicyInput < Struct.new(
  :policy,
  :resource_arn)
  SENSITIVE = []
  include Aws::Structure
end