Class CfnMicrosoftTeamsChannelConfiguration
- All Implemented Interfaces:
IInspectable,ITaggableV2,IMicrosoftTeamsChannelConfigurationRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
AWS Chatbot is now . Learn more > >
Typeattribute values remain unchanged.
The AWS::Chatbot::MicrosoftTeamsChannelConfiguration resource configures a Microsoft Teams channel to allow users to use with AWS CloudFormation templates.
This resource requires some setup to be done in the in chat applications console. To provide the required Microsoft Teams team and tenant IDs, you must perform the initial authorization flow with Microsoft Teams in the in chat applications console, then copy and paste the IDs from the console. For more details, see steps 1-3 in Get started with Microsoft Teams in the in chat applications Administrator Guide .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.chatbot.*;
CfnMicrosoftTeamsChannelConfiguration cfnMicrosoftTeamsChannelConfiguration = CfnMicrosoftTeamsChannelConfiguration.Builder.create(this, "MyCfnMicrosoftTeamsChannelConfiguration")
.configurationName("configurationName")
.iamRoleArn("iamRoleArn")
.teamId("teamId")
.teamsChannelId("teamsChannelId")
.teamsTenantId("teamsTenantId")
// the properties below are optional
.customizationResourceArns(List.of("customizationResourceArns"))
.guardrailPolicies(List.of("guardrailPolicies"))
.loggingLevel("loggingLevel")
.snsTopicArns(List.of("snsTopicArns"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.teamsChannelName("teamsChannelName")
.userRoleRequired(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnMicrosoftTeamsChannelConfiguration.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.chatbot.IMicrosoftTeamsChannelConfigurationRef
IMicrosoftTeamsChannelConfigurationRef.Jsii$Default, IMicrosoftTeamsChannelConfigurationRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnMicrosoftTeamsChannelConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnMicrosoftTeamsChannelConfiguration(software.amazon.jsii.JsiiObjectRef objRef) CfnMicrosoftTeamsChannelConfiguration(software.constructs.Construct scope, String id, CfnMicrosoftTeamsChannelConfigurationProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the resource.Tag Manager which manages the tags for this resource.The name of the configuration.Links a list of resource ARNs (for example, custom action ARNs) to a Microsoft Teams channel configuration for .The list of IAM policy ARNs that are applied as channel guardrails.The ARN of the IAM role that defines the permissions for .Specifies the logging level for this configuration.A reference to a MicrosoftTeamsChannelConfiguration resource.The ARNs of the SNS topics that deliver notifications to .getTags()The tags to add to the configuration.The ID of the Microsoft Team authorized with .The ID of the Microsoft Teams channel.The name of the Microsoft Teams channel.The ID of the Microsoft Teams tenant.Enables use of a user role requirement in your chat configuration.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetConfigurationName(String value) The name of the configuration.voidsetCustomizationResourceArns(List<String> value) Links a list of resource ARNs (for example, custom action ARNs) to a Microsoft Teams channel configuration for .voidsetGuardrailPolicies(List<String> value) The list of IAM policy ARNs that are applied as channel guardrails.voidsetIamRoleArn(String value) The ARN of the IAM role that defines the permissions for .voidsetLoggingLevel(String value) Specifies the logging level for this configuration.voidsetSnsTopicArns(List<String> value) The ARNs of the SNS topics that deliver notifications to .voidThe tags to add to the configuration.voidThe ID of the Microsoft Team authorized with .voidsetTeamsChannelId(String value) The ID of the Microsoft Teams channel.voidsetTeamsChannelName(String value) The name of the Microsoft Teams channel.voidsetTeamsTenantId(String value) The ID of the Microsoft Teams tenant.voidsetUserRoleRequired(Boolean value) Enables use of a user role requirement in your chat configuration.voidsetUserRoleRequired(IResolvable value) Enables use of a user role requirement in your chat configuration.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnMicrosoftTeamsChannelConfiguration
protected CfnMicrosoftTeamsChannelConfiguration(software.amazon.jsii.JsiiObjectRef objRef) -
CfnMicrosoftTeamsChannelConfiguration
protected CfnMicrosoftTeamsChannelConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnMicrosoftTeamsChannelConfiguration
@Stability(Stable) public CfnMicrosoftTeamsChannelConfiguration(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnMicrosoftTeamsChannelConfigurationProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The ARN of the resource. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getMicrosoftTeamsChannelConfigurationRef
@Stability(Stable) @NotNull public MicrosoftTeamsChannelConfigurationReference getMicrosoftTeamsChannelConfigurationRef()A reference to a MicrosoftTeamsChannelConfiguration resource.- Specified by:
getMicrosoftTeamsChannelConfigurationRefin interfaceIMicrosoftTeamsChannelConfigurationRef
-
getConfigurationName
The name of the configuration. -
setConfigurationName
The name of the configuration. -
getIamRoleArn
The ARN of the IAM role that defines the permissions for . -
setIamRoleArn
The ARN of the IAM role that defines the permissions for . -
getTeamId
The ID of the Microsoft Team authorized with . -
setTeamId
The ID of the Microsoft Team authorized with . -
getTeamsChannelId
The ID of the Microsoft Teams channel. -
setTeamsChannelId
The ID of the Microsoft Teams channel. -
getTeamsTenantId
The ID of the Microsoft Teams tenant. -
setTeamsTenantId
The ID of the Microsoft Teams tenant. -
getCustomizationResourceArns
Links a list of resource ARNs (for example, custom action ARNs) to a Microsoft Teams channel configuration for . -
setCustomizationResourceArns
Links a list of resource ARNs (for example, custom action ARNs) to a Microsoft Teams channel configuration for . -
getGuardrailPolicies
The list of IAM policy ARNs that are applied as channel guardrails. -
setGuardrailPolicies
The list of IAM policy ARNs that are applied as channel guardrails. -
getLoggingLevel
Specifies the logging level for this configuration.This property affects the log entries pushed to Amazon CloudWatch Logs.
-
setLoggingLevel
Specifies the logging level for this configuration.This property affects the log entries pushed to Amazon CloudWatch Logs.
-
getSnsTopicArns
The ARNs of the SNS topics that deliver notifications to . -
setSnsTopicArns
The ARNs of the SNS topics that deliver notifications to . -
getTags
The tags to add to the configuration. -
setTags
The tags to add to the configuration. -
getTeamsChannelName
The name of the Microsoft Teams channel. -
setTeamsChannelName
The name of the Microsoft Teams channel. -
getUserRoleRequired
Enables use of a user role requirement in your chat configuration.Returns union: either
BooleanorIResolvable -
setUserRoleRequired
Enables use of a user role requirement in your chat configuration. -
setUserRoleRequired
Enables use of a user role requirement in your chat configuration.
-