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)


4885
4886
4887
4888
4889
4890
# File 'lib/aws-sdk-codebuild/types.rb', line 4885

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)


4885
4886
4887
4888
4889
4890
# File 'lib/aws-sdk-codebuild/types.rb', line 4885

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