Class: Aws::Signer::Types::AddProfilePermissionRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionString

For cross-account signing. Grant a designated account permission to perform one or more of the following actions. Each action is associated with a specific API’s operations. For more information about cross-account signing, see [Using cross-account signing with signing profiles] in the *AWS Signer Developer Guide*.

You can designate the following actions to an account.

  • ‘signer:StartSigningJob`. This action isn’t supported for container image workflows. For details, see StartSigningJob.

  • ‘signer:SignPayload`. This action isn’t supported for AWS Lambda workflows. For details, see SignPayload

  • ‘signer:GetSigningProfile`. For details, see GetSigningProfile.

  • ‘signer:RevokeSignature`. For details, see RevokeSignature.

[1]: docs.aws.amazon.com/signer/latest/developerguide/signing-profile-cross-account.html

Returns:

  • (String)


77
78
79
80
81
82
83
84
85
86
# File 'lib/aws-sdk-signer/types.rb', line 77

class AddProfilePermissionRequest < Struct.new(
  :profile_name,
  :profile_version,
  :action,
  :principal,
  :revision_id,
  :statement_id)
  SENSITIVE = []
  include Aws::Structure
end

#principalString

The AWS principal receiving cross-account permissions. This may be an IAM role or another AWS account ID.

Returns:

  • (String)


77
78
79
80
81
82
83
84
85
86
# File 'lib/aws-sdk-signer/types.rb', line 77

class AddProfilePermissionRequest < Struct.new(
  :profile_name,
  :profile_version,
  :action,
  :principal,
  :revision_id,
  :statement_id)
  SENSITIVE = []
  include Aws::Structure
end

#profile_nameString

The human-readable name of the signing profile.

Returns:

  • (String)


77
78
79
80
81
82
83
84
85
86
# File 'lib/aws-sdk-signer/types.rb', line 77

class AddProfilePermissionRequest < Struct.new(
  :profile_name,
  :profile_version,
  :action,
  :principal,
  :revision_id,
  :statement_id)
  SENSITIVE = []
  include Aws::Structure
end

#profile_versionString

The version of the signing profile.

Returns:

  • (String)


77
78
79
80
81
82
83
84
85
86
# File 'lib/aws-sdk-signer/types.rb', line 77

class AddProfilePermissionRequest < Struct.new(
  :profile_name,
  :profile_version,
  :action,
  :principal,
  :revision_id,
  :statement_id)
  SENSITIVE = []
  include Aws::Structure
end

#revision_idString

A unique identifier for the current profile revision.

Returns:

  • (String)


77
78
79
80
81
82
83
84
85
86
# File 'lib/aws-sdk-signer/types.rb', line 77

class AddProfilePermissionRequest < Struct.new(
  :profile_name,
  :profile_version,
  :action,
  :principal,
  :revision_id,
  :statement_id)
  SENSITIVE = []
  include Aws::Structure
end

#statement_idString

A unique identifier for the cross-account permission statement.

Returns:

  • (String)


77
78
79
80
81
82
83
84
85
86
# File 'lib/aws-sdk-signer/types.rb', line 77

class AddProfilePermissionRequest < Struct.new(
  :profile_name,
  :profile_version,
  :action,
  :principal,
  :revision_id,
  :statement_id)
  SENSITIVE = []
  include Aws::Structure
end