Class CfnSlackChannelConfigurationPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSlackChannelConfigurationPropsMixin>
- Enclosing class:
CfnSlackChannelConfigurationPropsMixin
CfnSlackChannelConfigurationPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()configurationName(String configurationName) The name of the configuration.create()create(CfnPropertyMixinOptions options) customizationResourceArns(List<String> customizationResourceArns) Links a list of resource ARNs (for example, custom action ARNs) to a Slack channel configuration for .guardrailPolicies(List<String> guardrailPolicies) The list of IAM policy ARNs that are applied as channel guardrails.iamRoleArn(String iamRoleArn) The ARN of the IAM role that defines the permissions for .iamRoleArn(IRoleRef iamRoleArn) The ARN of the IAM role that defines the permissions for .loggingLevel(String loggingLevel) Specifies the logging level for this configuration.slackChannelId(String slackChannelId) The ID of the Slack channel.slackWorkspaceId(String slackWorkspaceId) The ID of the Slack workspace authorized with .snsTopicArns(List<? extends Object> snsTopicArns) The ARNs of the SNS topics that deliver notifications to .The tags to add to the configuration.userRoleRequired(Boolean userRoleRequired) Enables use of a user role requirement in your chat configuration.userRoleRequired(IResolvable userRoleRequired) Enables use of a user role requirement in your chat configuration.
-
Method Details
-
create
@Stability(Stable) public static CfnSlackChannelConfigurationPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnSlackChannelConfigurationPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnSlackChannelConfigurationPropsMixin.Builder.
-
configurationName
@Stability(Stable) public CfnSlackChannelConfigurationPropsMixin.Builder configurationName(String configurationName) The name of the configuration.- Parameters:
configurationName- The name of the configuration. This parameter is required.- Returns:
this- See Also:
-
customizationResourceArns
@Stability(Stable) public CfnSlackChannelConfigurationPropsMixin.Builder customizationResourceArns(List<String> customizationResourceArns) Links a list of resource ARNs (for example, custom action ARNs) to a Slack channel configuration for .- Parameters:
customizationResourceArns- Links a list of resource ARNs (for example, custom action ARNs) to a Slack channel configuration for . This parameter is required.- Returns:
this- See Also:
-
guardrailPolicies
@Stability(Stable) public CfnSlackChannelConfigurationPropsMixin.Builder guardrailPolicies(List<String> guardrailPolicies) The list of IAM policy ARNs that are applied as channel guardrails.The AWS managed 'AdministratorAccess' policy is applied as a default if this is not set.
- Parameters:
guardrailPolicies- The list of IAM policy ARNs that are applied as channel guardrails. This parameter is required.- Returns:
this- See Also:
-
iamRoleArn
@Stability(Stable) public CfnSlackChannelConfigurationPropsMixin.Builder iamRoleArn(String iamRoleArn) The ARN of the IAM role that defines the permissions for .This is a user-defined role that will assume. This is not the service-linked role. For more information, see IAM Policies for in chat applications .
- Parameters:
iamRoleArn- The ARN of the IAM role that defines the permissions for . This parameter is required.- Returns:
this- See Also:
-
iamRoleArn
@Stability(Stable) public CfnSlackChannelConfigurationPropsMixin.Builder iamRoleArn(IRoleRef iamRoleArn) The ARN of the IAM role that defines the permissions for .This is a user-defined role that will assume. This is not the service-linked role. For more information, see IAM Policies for in chat applications .
- Parameters:
iamRoleArn- The ARN of the IAM role that defines the permissions for . This parameter is required.- Returns:
this- See Also:
-
loggingLevel
@Stability(Stable) public CfnSlackChannelConfigurationPropsMixin.Builder loggingLevel(String loggingLevel) Specifies the logging level for this configuration. This property affects the log entries pushed to Amazon CloudWatch Logs.Logging levels include
ERROR,INFO, orNONE.Default: - "NONE"
- Parameters:
loggingLevel- Specifies the logging level for this configuration. This property affects the log entries pushed to Amazon CloudWatch Logs. This parameter is required.- Returns:
this- See Also:
-
slackChannelId
@Stability(Stable) public CfnSlackChannelConfigurationPropsMixin.Builder slackChannelId(String slackChannelId) The ID of the Slack channel.To get the ID, open Slack, right click on the channel name in the left pane, then choose Copy Link. The channel ID is the character string at the end of the URL. For example,
ABCBBLZZZ.- Parameters:
slackChannelId- The ID of the Slack channel. This parameter is required.- Returns:
this- See Also:
-
slackWorkspaceId
@Stability(Stable) public CfnSlackChannelConfigurationPropsMixin.Builder slackWorkspaceId(String slackWorkspaceId) The ID of the Slack workspace authorized with .To get the workspace ID, you must perform the initial authorization flow with Slack in the in chat applications console. Then you can copy and paste the workspace ID from the console. For more details, see steps 1-3 in Tutorial: Get started with Slack in the in chat applications User Guide .
- Parameters:
slackWorkspaceId- The ID of the Slack workspace authorized with . This parameter is required.- Returns:
this- See Also:
-
snsTopicArns
@Stability(Stable) public CfnSlackChannelConfigurationPropsMixin.Builder snsTopicArns(List<? extends Object> snsTopicArns) The ARNs of the SNS topics that deliver notifications to .- Parameters:
snsTopicArns- The ARNs of the SNS topics that deliver notifications to . This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnSlackChannelConfigurationPropsMixin.Builder tags(List<? extends CfnTag> tags) The tags to add to the configuration.- Parameters:
tags- The tags to add to the configuration. This parameter is required.- Returns:
this- See Also:
-
userRoleRequired
@Stability(Stable) public CfnSlackChannelConfigurationPropsMixin.Builder userRoleRequired(Boolean userRoleRequired) Enables use of a user role requirement in your chat configuration.Default: - false
- Parameters:
userRoleRequired- Enables use of a user role requirement in your chat configuration. This parameter is required.- Returns:
this- See Also:
-
userRoleRequired
@Stability(Stable) public CfnSlackChannelConfigurationPropsMixin.Builder userRoleRequired(IResolvable userRoleRequired) Enables use of a user role requirement in your chat configuration.Default: - false
- Parameters:
userRoleRequired- Enables use of a user role requirement in your chat configuration. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSlackChannelConfigurationPropsMixin>- Returns:
- a newly built instance of
CfnSlackChannelConfigurationPropsMixin.
-