Class GeneralRole.Builder

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

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

      • create

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

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

        Default: 'GeneralRole'

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

        @Stability(Stable)
        public GeneralRole.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: 'accessctl-s3olap-survey-results-unknown-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 GeneralRole.Builder policyName​(String policyName)
        The name of the IAM policy for the IAM role.

        Default: 'general-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 GeneralRole build()
        Specified by:
        build in interface software.amazon.jsii.Builder<GeneralRole>