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

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

Overview

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*.

[1]: docs.aws.amazon.com/codebuild/latest/userguide/project-sharing.html#project-sharing-share [2]: docs.aws.amazon.com/codebuild/latest/userguide/report-groups-sharing.html#report-groups-sharing-share

Returns:

  • (String)


5154
5155
5156
5157
5158
5159
# File 'lib/aws-sdk-codebuild/types.rb', line 5154

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)


5154
5155
5156
5157
5158
5159
# File 'lib/aws-sdk-codebuild/types.rb', line 5154

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