Class AdminRole.Builder

  • All Implemented Interfaces:
    software.amazon.jsii.Builder<AdminRole>
    Enclosing class:
    AdminRole

    @Stability(Stable)
    public static final class AdminRole.Builder
    extends Object
    implements software.amazon.jsii.Builder<AdminRole>
    A fluent builder for AdminRole.
    • Method Detail

      • create

        @Stability(Stable)
        public static AdminRole.Builder create​(software.constructs.Construct scope,
                                               String id)
        Parameters:
        scope - This parameter is required.
        id - This parameter is required.
        Returns:
        a new instance of AdminRole.Builder.
      • iamRoleName

        @Stability(Stable)
        public AdminRole.Builder iamRoleName​(String iamRoleName)
        The name of the IAM role.

        Default: 'RedactionAdminRole'

        Parameters:
        iamRoleName - The name of the IAM role. This parameter is required.
        Returns:
        this
      • objectLambdaAccessPointName

        @Stability(Stable)
        public AdminRole.Builder objectLambdaAccessPointName​(String objectLambdaAccessPointName)
        The name of the object Lambda access point, which will be the same as the S3 acceess point for the S3 bucket in the demostration.

        Default: 'admin-s3olap-call-transcripts-known-pii'

        Parameters:
        objectLambdaAccessPointName - The name of the object Lambda access point, which will be the same as the S3 acceess point for the S3 bucket in the demostration. This parameter is required.
        Returns:
        this
      • policyName

        @Stability(Stable)
        public AdminRole.Builder policyName​(String policyName)
        The name of the IAM policy for the IAM role.

        Default: 'admin-role-s3olap-policy'

        Parameters:
        policyName - The name of the IAM policy for the IAM role. This parameter is required.
        Returns:
        this
      • build

        @Stability(Stable)
        public AdminRole build()
        Specified by:
        build in interface software.amazon.jsii.Builder<AdminRole>