Interface AddProfilePermissionRequest.Builder

    • Method Detail

      • profileName

        AddProfilePermissionRequest.Builder profileName​(String profileName)

        The human-readable name of the signing profile.

        Parameters:
        profileName - The human-readable name of the signing profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • profileVersion

        AddProfilePermissionRequest.Builder profileVersion​(String profileVersion)

        The version of the signing profile.

        Parameters:
        profileVersion - The version of the signing profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • action

        AddProfilePermissionRequest.Builder action​(String action)

        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.

        Parameters:
        action - 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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • principal

        AddProfilePermissionRequest.Builder principal​(String principal)

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

        Parameters:
        principal - The AWS principal receiving cross-account permissions. This may be an IAM role or another AWS account ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • revisionId

        AddProfilePermissionRequest.Builder revisionId​(String revisionId)

        A unique identifier for the current profile revision.

        Parameters:
        revisionId - A unique identifier for the current profile revision.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • statementId

        AddProfilePermissionRequest.Builder statementId​(String statementId)

        A unique identifier for the cross-account permission statement.

        Parameters:
        statementId - A unique identifier for the cross-account permission statement.
        Returns:
        Returns a reference to this object so that method calls can be chained together.