Documentation ¶
Index ¶
- func CfnAgentStatus_CFN_RESOURCE_TYPE_NAME() *string
- func CfnAgentStatus_IsCfnElement(x interface{}) *bool
- func CfnAgentStatus_IsCfnResource(x interface{}) *bool
- func CfnAgentStatus_IsConstruct(x interface{}) *bool
- func CfnApprovedOrigin_CFN_RESOURCE_TYPE_NAME() *string
- func CfnApprovedOrigin_IsCfnElement(x interface{}) *bool
- func CfnApprovedOrigin_IsCfnResource(x interface{}) *bool
- func CfnApprovedOrigin_IsConstruct(x interface{}) *bool
- func CfnContactFlowModule_CFN_RESOURCE_TYPE_NAME() *string
- func CfnContactFlowModule_IsCfnElement(x interface{}) *bool
- func CfnContactFlowModule_IsCfnResource(x interface{}) *bool
- func CfnContactFlowModule_IsConstruct(x interface{}) *bool
- func CfnContactFlow_CFN_RESOURCE_TYPE_NAME() *string
- func CfnContactFlow_IsCfnElement(x interface{}) *bool
- func CfnContactFlow_IsCfnResource(x interface{}) *bool
- func CfnContactFlow_IsConstruct(x interface{}) *bool
- func CfnEvaluationForm_CFN_RESOURCE_TYPE_NAME() *string
- func CfnEvaluationForm_IsCfnElement(x interface{}) *bool
- func CfnEvaluationForm_IsCfnResource(x interface{}) *bool
- func CfnEvaluationForm_IsConstruct(x interface{}) *bool
- func CfnHoursOfOperation_CFN_RESOURCE_TYPE_NAME() *string
- func CfnHoursOfOperation_IsCfnElement(x interface{}) *bool
- func CfnHoursOfOperation_IsCfnResource(x interface{}) *bool
- func CfnHoursOfOperation_IsConstruct(x interface{}) *bool
- func CfnInstanceStorageConfig_CFN_RESOURCE_TYPE_NAME() *string
- func CfnInstanceStorageConfig_IsCfnElement(x interface{}) *bool
- func CfnInstanceStorageConfig_IsCfnResource(x interface{}) *bool
- func CfnInstanceStorageConfig_IsConstruct(x interface{}) *bool
- func CfnInstance_CFN_RESOURCE_TYPE_NAME() *string
- func CfnInstance_IsCfnElement(x interface{}) *bool
- func CfnInstance_IsCfnResource(x interface{}) *bool
- func CfnInstance_IsConstruct(x interface{}) *bool
- func CfnIntegrationAssociation_CFN_RESOURCE_TYPE_NAME() *string
- func CfnIntegrationAssociation_IsCfnElement(x interface{}) *bool
- func CfnIntegrationAssociation_IsCfnResource(x interface{}) *bool
- func CfnIntegrationAssociation_IsConstruct(x interface{}) *bool
- func CfnPhoneNumber_CFN_RESOURCE_TYPE_NAME() *string
- func CfnPhoneNumber_IsCfnElement(x interface{}) *bool
- func CfnPhoneNumber_IsCfnResource(x interface{}) *bool
- func CfnPhoneNumber_IsConstruct(x interface{}) *bool
- func CfnPredefinedAttribute_CFN_RESOURCE_TYPE_NAME() *string
- func CfnPredefinedAttribute_IsCfnElement(x interface{}) *bool
- func CfnPredefinedAttribute_IsCfnResource(x interface{}) *bool
- func CfnPredefinedAttribute_IsConstruct(x interface{}) *bool
- func CfnPrompt_CFN_RESOURCE_TYPE_NAME() *string
- func CfnPrompt_IsCfnElement(x interface{}) *bool
- func CfnPrompt_IsCfnResource(x interface{}) *bool
- func CfnPrompt_IsConstruct(x interface{}) *bool
- func CfnQueue_CFN_RESOURCE_TYPE_NAME() *string
- func CfnQueue_IsCfnElement(x interface{}) *bool
- func CfnQueue_IsCfnResource(x interface{}) *bool
- func CfnQueue_IsConstruct(x interface{}) *bool
- func CfnQuickConnect_CFN_RESOURCE_TYPE_NAME() *string
- func CfnQuickConnect_IsCfnElement(x interface{}) *bool
- func CfnQuickConnect_IsCfnResource(x interface{}) *bool
- func CfnQuickConnect_IsConstruct(x interface{}) *bool
- func CfnRoutingProfile_CFN_RESOURCE_TYPE_NAME() *string
- func CfnRoutingProfile_IsCfnElement(x interface{}) *bool
- func CfnRoutingProfile_IsCfnResource(x interface{}) *bool
- func CfnRoutingProfile_IsConstruct(x interface{}) *bool
- func CfnRule_CFN_RESOURCE_TYPE_NAME() *string
- func CfnRule_IsCfnElement(x interface{}) *bool
- func CfnRule_IsCfnResource(x interface{}) *bool
- func CfnRule_IsConstruct(x interface{}) *bool
- func CfnSecurityKey_CFN_RESOURCE_TYPE_NAME() *string
- func CfnSecurityKey_IsCfnElement(x interface{}) *bool
- func CfnSecurityKey_IsCfnResource(x interface{}) *bool
- func CfnSecurityKey_IsConstruct(x interface{}) *bool
- func CfnSecurityProfile_CFN_RESOURCE_TYPE_NAME() *string
- func CfnSecurityProfile_IsCfnElement(x interface{}) *bool
- func CfnSecurityProfile_IsCfnResource(x interface{}) *bool
- func CfnSecurityProfile_IsConstruct(x interface{}) *bool
- func CfnTaskTemplate_CFN_RESOURCE_TYPE_NAME() *string
- func CfnTaskTemplate_IsCfnElement(x interface{}) *bool
- func CfnTaskTemplate_IsCfnResource(x interface{}) *bool
- func CfnTaskTemplate_IsConstruct(x interface{}) *bool
- func CfnTrafficDistributionGroup_CFN_RESOURCE_TYPE_NAME() *string
- func CfnTrafficDistributionGroup_IsCfnElement(x interface{}) *bool
- func CfnTrafficDistributionGroup_IsCfnResource(x interface{}) *bool
- func CfnTrafficDistributionGroup_IsConstruct(x interface{}) *bool
- func CfnUserHierarchyGroup_CFN_RESOURCE_TYPE_NAME() *string
- func CfnUserHierarchyGroup_IsCfnElement(x interface{}) *bool
- func CfnUserHierarchyGroup_IsCfnResource(x interface{}) *bool
- func CfnUserHierarchyGroup_IsConstruct(x interface{}) *bool
- func CfnUserHierarchyStructure_CFN_RESOURCE_TYPE_NAME() *string
- func CfnUserHierarchyStructure_IsCfnElement(x interface{}) *bool
- func CfnUserHierarchyStructure_IsCfnResource(x interface{}) *bool
- func CfnUserHierarchyStructure_IsConstruct(x interface{}) *bool
- func CfnUser_CFN_RESOURCE_TYPE_NAME() *string
- func CfnUser_IsCfnElement(x interface{}) *bool
- func CfnUser_IsCfnResource(x interface{}) *bool
- func CfnUser_IsConstruct(x interface{}) *bool
- func CfnViewVersion_CFN_RESOURCE_TYPE_NAME() *string
- func CfnViewVersion_IsCfnElement(x interface{}) *bool
- func CfnViewVersion_IsCfnResource(x interface{}) *bool
- func CfnViewVersion_IsConstruct(x interface{}) *bool
- func CfnView_CFN_RESOURCE_TYPE_NAME() *string
- func CfnView_IsCfnElement(x interface{}) *bool
- func CfnView_IsCfnResource(x interface{}) *bool
- func CfnView_IsConstruct(x interface{}) *bool
- func NewCfnAgentStatus_Override(c CfnAgentStatus, scope constructs.Construct, id *string, ...)
- func NewCfnApprovedOrigin_Override(c CfnApprovedOrigin, scope constructs.Construct, id *string, ...)
- func NewCfnContactFlowModule_Override(c CfnContactFlowModule, scope constructs.Construct, id *string, ...)
- func NewCfnContactFlow_Override(c CfnContactFlow, scope constructs.Construct, id *string, ...)
- func NewCfnEvaluationForm_Override(c CfnEvaluationForm, scope constructs.Construct, id *string, ...)
- func NewCfnHoursOfOperation_Override(c CfnHoursOfOperation, scope constructs.Construct, id *string, ...)
- func NewCfnInstanceStorageConfig_Override(c CfnInstanceStorageConfig, scope constructs.Construct, id *string, ...)
- func NewCfnInstance_Override(c CfnInstance, scope constructs.Construct, id *string, props *CfnInstanceProps)
- func NewCfnIntegrationAssociation_Override(c CfnIntegrationAssociation, scope constructs.Construct, id *string, ...)
- func NewCfnPhoneNumber_Override(c CfnPhoneNumber, scope constructs.Construct, id *string, ...)
- func NewCfnPredefinedAttribute_Override(c CfnPredefinedAttribute, scope constructs.Construct, id *string, ...)
- func NewCfnPrompt_Override(c CfnPrompt, scope constructs.Construct, id *string, props *CfnPromptProps)
- func NewCfnQueue_Override(c CfnQueue, scope constructs.Construct, id *string, props *CfnQueueProps)
- func NewCfnQuickConnect_Override(c CfnQuickConnect, scope constructs.Construct, id *string, ...)
- func NewCfnRoutingProfile_Override(c CfnRoutingProfile, scope constructs.Construct, id *string, ...)
- func NewCfnRule_Override(c CfnRule, scope constructs.Construct, id *string, props *CfnRuleProps)
- func NewCfnSecurityKey_Override(c CfnSecurityKey, scope constructs.Construct, id *string, ...)
- func NewCfnSecurityProfile_Override(c CfnSecurityProfile, scope constructs.Construct, id *string, ...)
- func NewCfnTaskTemplate_Override(c CfnTaskTemplate, scope constructs.Construct, id *string, ...)
- func NewCfnTrafficDistributionGroup_Override(c CfnTrafficDistributionGroup, scope constructs.Construct, id *string, ...)
- func NewCfnUserHierarchyGroup_Override(c CfnUserHierarchyGroup, scope constructs.Construct, id *string, ...)
- func NewCfnUserHierarchyStructure_Override(c CfnUserHierarchyStructure, scope constructs.Construct, id *string, ...)
- func NewCfnUser_Override(c CfnUser, scope constructs.Construct, id *string, props *CfnUserProps)
- func NewCfnViewVersion_Override(c CfnViewVersion, scope constructs.Construct, id *string, ...)
- func NewCfnView_Override(c CfnView, scope constructs.Construct, id *string, props *CfnViewProps)
- type CfnAgentStatus
- type CfnAgentStatusProps
- type CfnApprovedOrigin
- type CfnApprovedOriginProps
- type CfnContactFlow
- type CfnContactFlowModule
- type CfnContactFlowModuleProps
- type CfnContactFlowProps
- type CfnEvaluationForm
- type CfnEvaluationFormProps
- type CfnEvaluationForm_EvaluationFormBaseItemProperty
- type CfnEvaluationForm_EvaluationFormItemProperty
- type CfnEvaluationForm_EvaluationFormNumericQuestionAutomationProperty
- type CfnEvaluationForm_EvaluationFormNumericQuestionOptionProperty
- type CfnEvaluationForm_EvaluationFormNumericQuestionPropertiesProperty
- type CfnEvaluationForm_EvaluationFormQuestionProperty
- type CfnEvaluationForm_EvaluationFormQuestionTypePropertiesProperty
- type CfnEvaluationForm_EvaluationFormSectionProperty
- type CfnEvaluationForm_EvaluationFormSingleSelectQuestionAutomationOptionProperty
- type CfnEvaluationForm_EvaluationFormSingleSelectQuestionAutomationProperty
- type CfnEvaluationForm_EvaluationFormSingleSelectQuestionOptionProperty
- type CfnEvaluationForm_EvaluationFormSingleSelectQuestionPropertiesProperty
- type CfnEvaluationForm_NumericQuestionPropertyValueAutomationProperty
- type CfnEvaluationForm_ScoringStrategyProperty
- type CfnEvaluationForm_SingleSelectQuestionRuleCategoryAutomationProperty
- type CfnHoursOfOperation
- type CfnHoursOfOperationProps
- type CfnHoursOfOperation_HoursOfOperationConfigProperty
- type CfnHoursOfOperation_HoursOfOperationTimeSliceProperty
- type CfnInstance
- type CfnInstanceProps
- type CfnInstanceStorageConfig
- type CfnInstanceStorageConfigProps
- type CfnInstanceStorageConfig_EncryptionConfigProperty
- type CfnInstanceStorageConfig_KinesisFirehoseConfigProperty
- type CfnInstanceStorageConfig_KinesisStreamConfigProperty
- type CfnInstanceStorageConfig_KinesisVideoStreamConfigProperty
- type CfnInstanceStorageConfig_S3ConfigProperty
- type CfnInstance_AttributesProperty
- type CfnIntegrationAssociation
- type CfnIntegrationAssociationProps
- type CfnPhoneNumber
- type CfnPhoneNumberProps
- type CfnPredefinedAttribute
- type CfnPredefinedAttributeProps
- type CfnPredefinedAttribute_ValuesProperty
- type CfnPrompt
- type CfnPromptProps
- type CfnQueue
- type CfnQueueProps
- type CfnQueue_OutboundCallerConfigProperty
- type CfnQuickConnect
- type CfnQuickConnectProps
- type CfnQuickConnect_PhoneNumberQuickConnectConfigProperty
- type CfnQuickConnect_QueueQuickConnectConfigProperty
- type CfnQuickConnect_QuickConnectConfigProperty
- type CfnQuickConnect_UserQuickConnectConfigProperty
- type CfnRoutingProfile
- type CfnRoutingProfileProps
- type CfnRoutingProfile_CrossChannelBehaviorProperty
- type CfnRoutingProfile_MediaConcurrencyProperty
- type CfnRoutingProfile_RoutingProfileQueueConfigProperty
- type CfnRoutingProfile_RoutingProfileQueueReferenceProperty
- type CfnRule
- type CfnRuleProps
- type CfnRule_ActionsProperty
- type CfnRule_CreateCaseActionProperty
- type CfnRule_EventBridgeActionProperty
- type CfnRule_FieldProperty
- type CfnRule_FieldValueProperty
- type CfnRule_NotificationRecipientTypeProperty
- type CfnRule_ReferenceProperty
- type CfnRule_RuleTriggerEventSourceProperty
- type CfnRule_SendNotificationActionProperty
- type CfnRule_SubmitAutoEvaluationActionProperty
- type CfnRule_TaskActionProperty
- type CfnRule_UpdateCaseActionProperty
- type CfnSecurityKey
- type CfnSecurityKeyProps
- type CfnSecurityProfile
- type CfnSecurityProfileProps
- type CfnSecurityProfile_ApplicationProperty
- type CfnTaskTemplate
- type CfnTaskTemplateProps
- type CfnTaskTemplate_ConstraintsProperty
- type CfnTaskTemplate_DefaultFieldValueProperty
- type CfnTaskTemplate_FieldIdentifierProperty
- type CfnTaskTemplate_FieldProperty
- type CfnTaskTemplate_InvisibleFieldInfoProperty
- type CfnTaskTemplate_ReadOnlyFieldInfoProperty
- type CfnTaskTemplate_RequiredFieldInfoProperty
- type CfnTrafficDistributionGroup
- type CfnTrafficDistributionGroupProps
- type CfnUser
- type CfnUserHierarchyGroup
- type CfnUserHierarchyGroupProps
- type CfnUserHierarchyStructure
- type CfnUserHierarchyStructureProps
- type CfnUserHierarchyStructure_LevelFiveProperty
- type CfnUserHierarchyStructure_LevelFourProperty
- type CfnUserHierarchyStructure_LevelOneProperty
- type CfnUserHierarchyStructure_LevelThreeProperty
- type CfnUserHierarchyStructure_LevelTwoProperty
- type CfnUserHierarchyStructure_UserHierarchyStructureProperty
- type CfnUserProps
- type CfnUser_UserIdentityInfoProperty
- type CfnUser_UserPhoneConfigProperty
- type CfnUser_UserProficiencyProperty
- type CfnView
- type CfnViewProps
- type CfnViewVersion
- type CfnViewVersionProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CfnAgentStatus_CFN_RESOURCE_TYPE_NAME ¶ added in v2.159.0
func CfnAgentStatus_CFN_RESOURCE_TYPE_NAME() *string
func CfnAgentStatus_IsCfnElement ¶ added in v2.159.0
func CfnAgentStatus_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnAgentStatus_IsCfnResource ¶ added in v2.159.0
func CfnAgentStatus_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnAgentStatus_IsConstruct ¶ added in v2.159.0
func CfnAgentStatus_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnApprovedOrigin_CFN_RESOURCE_TYPE_NAME ¶ added in v2.63.0
func CfnApprovedOrigin_CFN_RESOURCE_TYPE_NAME() *string
func CfnApprovedOrigin_IsCfnElement ¶ added in v2.63.0
func CfnApprovedOrigin_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnApprovedOrigin_IsCfnResource ¶ added in v2.63.0
func CfnApprovedOrigin_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnApprovedOrigin_IsConstruct ¶ added in v2.63.0
func CfnApprovedOrigin_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnContactFlowModule_CFN_RESOURCE_TYPE_NAME ¶ added in v2.2.0
func CfnContactFlowModule_CFN_RESOURCE_TYPE_NAME() *string
func CfnContactFlowModule_IsCfnElement ¶ added in v2.2.0
func CfnContactFlowModule_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnContactFlowModule_IsCfnResource ¶ added in v2.2.0
func CfnContactFlowModule_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnContactFlowModule_IsConstruct ¶ added in v2.2.0
func CfnContactFlowModule_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnContactFlow_CFN_RESOURCE_TYPE_NAME ¶ added in v2.2.0
func CfnContactFlow_CFN_RESOURCE_TYPE_NAME() *string
func CfnContactFlow_IsCfnElement ¶ added in v2.2.0
func CfnContactFlow_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnContactFlow_IsCfnResource ¶ added in v2.2.0
func CfnContactFlow_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnContactFlow_IsConstruct ¶ added in v2.2.0
func CfnContactFlow_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnEvaluationForm_CFN_RESOURCE_TYPE_NAME ¶ added in v2.79.0
func CfnEvaluationForm_CFN_RESOURCE_TYPE_NAME() *string
func CfnEvaluationForm_IsCfnElement ¶ added in v2.79.0
func CfnEvaluationForm_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnEvaluationForm_IsCfnResource ¶ added in v2.79.0
func CfnEvaluationForm_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnEvaluationForm_IsConstruct ¶ added in v2.79.0
func CfnEvaluationForm_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnHoursOfOperation_CFN_RESOURCE_TYPE_NAME ¶
func CfnHoursOfOperation_CFN_RESOURCE_TYPE_NAME() *string
func CfnHoursOfOperation_IsCfnElement ¶
func CfnHoursOfOperation_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnHoursOfOperation_IsCfnResource ¶
func CfnHoursOfOperation_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnHoursOfOperation_IsConstruct ¶
func CfnHoursOfOperation_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnInstanceStorageConfig_CFN_RESOURCE_TYPE_NAME ¶ added in v2.42.0
func CfnInstanceStorageConfig_CFN_RESOURCE_TYPE_NAME() *string
func CfnInstanceStorageConfig_IsCfnElement ¶ added in v2.42.0
func CfnInstanceStorageConfig_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnInstanceStorageConfig_IsCfnResource ¶ added in v2.42.0
func CfnInstanceStorageConfig_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnInstanceStorageConfig_IsConstruct ¶ added in v2.42.0
func CfnInstanceStorageConfig_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnInstance_CFN_RESOURCE_TYPE_NAME ¶ added in v2.42.0
func CfnInstance_CFN_RESOURCE_TYPE_NAME() *string
func CfnInstance_IsCfnElement ¶ added in v2.42.0
func CfnInstance_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnInstance_IsCfnResource ¶ added in v2.42.0
func CfnInstance_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnInstance_IsConstruct ¶ added in v2.42.0
func CfnInstance_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnIntegrationAssociation_CFN_RESOURCE_TYPE_NAME ¶ added in v2.63.0
func CfnIntegrationAssociation_CFN_RESOURCE_TYPE_NAME() *string
func CfnIntegrationAssociation_IsCfnElement ¶ added in v2.63.0
func CfnIntegrationAssociation_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnIntegrationAssociation_IsCfnResource ¶ added in v2.63.0
func CfnIntegrationAssociation_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnIntegrationAssociation_IsConstruct ¶ added in v2.63.0
func CfnIntegrationAssociation_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnPhoneNumber_CFN_RESOURCE_TYPE_NAME ¶ added in v2.23.0
func CfnPhoneNumber_CFN_RESOURCE_TYPE_NAME() *string
func CfnPhoneNumber_IsCfnElement ¶ added in v2.23.0
func CfnPhoneNumber_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnPhoneNumber_IsCfnResource ¶ added in v2.23.0
func CfnPhoneNumber_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnPhoneNumber_IsConstruct ¶ added in v2.23.0
func CfnPhoneNumber_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnPredefinedAttribute_CFN_RESOURCE_TYPE_NAME ¶ added in v2.119.0
func CfnPredefinedAttribute_CFN_RESOURCE_TYPE_NAME() *string
func CfnPredefinedAttribute_IsCfnElement ¶ added in v2.119.0
func CfnPredefinedAttribute_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnPredefinedAttribute_IsCfnResource ¶ added in v2.119.0
func CfnPredefinedAttribute_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnPredefinedAttribute_IsConstruct ¶ added in v2.119.0
func CfnPredefinedAttribute_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnPrompt_CFN_RESOURCE_TYPE_NAME ¶ added in v2.82.0
func CfnPrompt_CFN_RESOURCE_TYPE_NAME() *string
func CfnPrompt_IsCfnElement ¶ added in v2.82.0
func CfnPrompt_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnPrompt_IsCfnResource ¶ added in v2.82.0
func CfnPrompt_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnPrompt_IsConstruct ¶ added in v2.82.0
func CfnPrompt_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnQueue_CFN_RESOURCE_TYPE_NAME ¶ added in v2.89.0
func CfnQueue_CFN_RESOURCE_TYPE_NAME() *string
func CfnQueue_IsCfnElement ¶ added in v2.89.0
func CfnQueue_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnQueue_IsCfnResource ¶ added in v2.89.0
func CfnQueue_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnQueue_IsConstruct ¶ added in v2.89.0
func CfnQueue_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnQuickConnect_CFN_RESOURCE_TYPE_NAME ¶
func CfnQuickConnect_CFN_RESOURCE_TYPE_NAME() *string
func CfnQuickConnect_IsCfnElement ¶
func CfnQuickConnect_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnQuickConnect_IsCfnResource ¶
func CfnQuickConnect_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnQuickConnect_IsConstruct ¶
func CfnQuickConnect_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnRoutingProfile_CFN_RESOURCE_TYPE_NAME ¶ added in v2.89.0
func CfnRoutingProfile_CFN_RESOURCE_TYPE_NAME() *string
func CfnRoutingProfile_IsCfnElement ¶ added in v2.89.0
func CfnRoutingProfile_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnRoutingProfile_IsCfnResource ¶ added in v2.89.0
func CfnRoutingProfile_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnRoutingProfile_IsConstruct ¶ added in v2.89.0
func CfnRoutingProfile_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnRule_CFN_RESOURCE_TYPE_NAME ¶ added in v2.55.0
func CfnRule_CFN_RESOURCE_TYPE_NAME() *string
func CfnRule_IsCfnElement ¶ added in v2.55.0
func CfnRule_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnRule_IsCfnResource ¶ added in v2.55.0
func CfnRule_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnRule_IsConstruct ¶ added in v2.55.0
func CfnRule_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnSecurityKey_CFN_RESOURCE_TYPE_NAME ¶ added in v2.63.0
func CfnSecurityKey_CFN_RESOURCE_TYPE_NAME() *string
func CfnSecurityKey_IsCfnElement ¶ added in v2.63.0
func CfnSecurityKey_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnSecurityKey_IsCfnResource ¶ added in v2.63.0
func CfnSecurityKey_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnSecurityKey_IsConstruct ¶ added in v2.63.0
func CfnSecurityKey_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnSecurityProfile_CFN_RESOURCE_TYPE_NAME ¶ added in v2.98.0
func CfnSecurityProfile_CFN_RESOURCE_TYPE_NAME() *string
func CfnSecurityProfile_IsCfnElement ¶ added in v2.98.0
func CfnSecurityProfile_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnSecurityProfile_IsCfnResource ¶ added in v2.98.0
func CfnSecurityProfile_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnSecurityProfile_IsConstruct ¶ added in v2.98.0
func CfnSecurityProfile_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnTaskTemplate_CFN_RESOURCE_TYPE_NAME ¶ added in v2.29.0
func CfnTaskTemplate_CFN_RESOURCE_TYPE_NAME() *string
func CfnTaskTemplate_IsCfnElement ¶ added in v2.29.0
func CfnTaskTemplate_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnTaskTemplate_IsCfnResource ¶ added in v2.29.0
func CfnTaskTemplate_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnTaskTemplate_IsConstruct ¶ added in v2.29.0
func CfnTaskTemplate_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnTrafficDistributionGroup_CFN_RESOURCE_TYPE_NAME ¶ added in v2.93.0
func CfnTrafficDistributionGroup_CFN_RESOURCE_TYPE_NAME() *string
func CfnTrafficDistributionGroup_IsCfnElement ¶ added in v2.93.0
func CfnTrafficDistributionGroup_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnTrafficDistributionGroup_IsCfnResource ¶ added in v2.93.0
func CfnTrafficDistributionGroup_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnTrafficDistributionGroup_IsConstruct ¶ added in v2.93.0
func CfnTrafficDistributionGroup_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnUserHierarchyGroup_CFN_RESOURCE_TYPE_NAME ¶
func CfnUserHierarchyGroup_CFN_RESOURCE_TYPE_NAME() *string
func CfnUserHierarchyGroup_IsCfnElement ¶
func CfnUserHierarchyGroup_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnUserHierarchyGroup_IsCfnResource ¶
func CfnUserHierarchyGroup_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnUserHierarchyGroup_IsConstruct ¶
func CfnUserHierarchyGroup_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnUserHierarchyStructure_CFN_RESOURCE_TYPE_NAME ¶ added in v2.159.0
func CfnUserHierarchyStructure_CFN_RESOURCE_TYPE_NAME() *string
func CfnUserHierarchyStructure_IsCfnElement ¶ added in v2.159.0
func CfnUserHierarchyStructure_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnUserHierarchyStructure_IsCfnResource ¶ added in v2.159.0
func CfnUserHierarchyStructure_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnUserHierarchyStructure_IsConstruct ¶ added in v2.159.0
func CfnUserHierarchyStructure_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnUser_CFN_RESOURCE_TYPE_NAME ¶
func CfnUser_CFN_RESOURCE_TYPE_NAME() *string
func CfnUser_IsCfnElement ¶
func CfnUser_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnUser_IsCfnResource ¶
func CfnUser_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnUser_IsConstruct ¶
func CfnUser_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnViewVersion_CFN_RESOURCE_TYPE_NAME ¶ added in v2.97.0
func CfnViewVersion_CFN_RESOURCE_TYPE_NAME() *string
func CfnViewVersion_IsCfnElement ¶ added in v2.97.0
func CfnViewVersion_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnViewVersion_IsCfnResource ¶ added in v2.97.0
func CfnViewVersion_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnViewVersion_IsConstruct ¶ added in v2.97.0
func CfnViewVersion_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnView_CFN_RESOURCE_TYPE_NAME ¶ added in v2.97.0
func CfnView_CFN_RESOURCE_TYPE_NAME() *string
func CfnView_IsCfnElement ¶ added in v2.97.0
func CfnView_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnView_IsCfnResource ¶ added in v2.97.0
func CfnView_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnView_IsConstruct ¶ added in v2.97.0
func CfnView_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func NewCfnAgentStatus_Override ¶ added in v2.159.0
func NewCfnAgentStatus_Override(c CfnAgentStatus, scope constructs.Construct, id *string, props *CfnAgentStatusProps)
func NewCfnApprovedOrigin_Override ¶ added in v2.63.0
func NewCfnApprovedOrigin_Override(c CfnApprovedOrigin, scope constructs.Construct, id *string, props *CfnApprovedOriginProps)
func NewCfnContactFlowModule_Override ¶ added in v2.2.0
func NewCfnContactFlowModule_Override(c CfnContactFlowModule, scope constructs.Construct, id *string, props *CfnContactFlowModuleProps)
func NewCfnContactFlow_Override ¶ added in v2.2.0
func NewCfnContactFlow_Override(c CfnContactFlow, scope constructs.Construct, id *string, props *CfnContactFlowProps)
func NewCfnEvaluationForm_Override ¶ added in v2.79.0
func NewCfnEvaluationForm_Override(c CfnEvaluationForm, scope constructs.Construct, id *string, props *CfnEvaluationFormProps)
func NewCfnHoursOfOperation_Override ¶
func NewCfnHoursOfOperation_Override(c CfnHoursOfOperation, scope constructs.Construct, id *string, props *CfnHoursOfOperationProps)
func NewCfnInstanceStorageConfig_Override ¶ added in v2.42.0
func NewCfnInstanceStorageConfig_Override(c CfnInstanceStorageConfig, scope constructs.Construct, id *string, props *CfnInstanceStorageConfigProps)
func NewCfnInstance_Override ¶ added in v2.42.0
func NewCfnInstance_Override(c CfnInstance, scope constructs.Construct, id *string, props *CfnInstanceProps)
func NewCfnIntegrationAssociation_Override ¶ added in v2.63.0
func NewCfnIntegrationAssociation_Override(c CfnIntegrationAssociation, scope constructs.Construct, id *string, props *CfnIntegrationAssociationProps)
func NewCfnPhoneNumber_Override ¶ added in v2.23.0
func NewCfnPhoneNumber_Override(c CfnPhoneNumber, scope constructs.Construct, id *string, props *CfnPhoneNumberProps)
func NewCfnPredefinedAttribute_Override ¶ added in v2.119.0
func NewCfnPredefinedAttribute_Override(c CfnPredefinedAttribute, scope constructs.Construct, id *string, props *CfnPredefinedAttributeProps)
func NewCfnPrompt_Override ¶ added in v2.82.0
func NewCfnPrompt_Override(c CfnPrompt, scope constructs.Construct, id *string, props *CfnPromptProps)
func NewCfnQueue_Override ¶ added in v2.89.0
func NewCfnQueue_Override(c CfnQueue, scope constructs.Construct, id *string, props *CfnQueueProps)
func NewCfnQuickConnect_Override ¶
func NewCfnQuickConnect_Override(c CfnQuickConnect, scope constructs.Construct, id *string, props *CfnQuickConnectProps)
func NewCfnRoutingProfile_Override ¶ added in v2.89.0
func NewCfnRoutingProfile_Override(c CfnRoutingProfile, scope constructs.Construct, id *string, props *CfnRoutingProfileProps)
func NewCfnRule_Override ¶ added in v2.55.0
func NewCfnRule_Override(c CfnRule, scope constructs.Construct, id *string, props *CfnRuleProps)
func NewCfnSecurityKey_Override ¶ added in v2.63.0
func NewCfnSecurityKey_Override(c CfnSecurityKey, scope constructs.Construct, id *string, props *CfnSecurityKeyProps)
func NewCfnSecurityProfile_Override ¶ added in v2.98.0
func NewCfnSecurityProfile_Override(c CfnSecurityProfile, scope constructs.Construct, id *string, props *CfnSecurityProfileProps)
func NewCfnTaskTemplate_Override ¶ added in v2.29.0
func NewCfnTaskTemplate_Override(c CfnTaskTemplate, scope constructs.Construct, id *string, props *CfnTaskTemplateProps)
func NewCfnTrafficDistributionGroup_Override ¶ added in v2.93.0
func NewCfnTrafficDistributionGroup_Override(c CfnTrafficDistributionGroup, scope constructs.Construct, id *string, props *CfnTrafficDistributionGroupProps)
func NewCfnUserHierarchyGroup_Override ¶
func NewCfnUserHierarchyGroup_Override(c CfnUserHierarchyGroup, scope constructs.Construct, id *string, props *CfnUserHierarchyGroupProps)
func NewCfnUserHierarchyStructure_Override ¶ added in v2.159.0
func NewCfnUserHierarchyStructure_Override(c CfnUserHierarchyStructure, scope constructs.Construct, id *string, props *CfnUserHierarchyStructureProps)
func NewCfnUser_Override ¶
func NewCfnUser_Override(c CfnUser, scope constructs.Construct, id *string, props *CfnUserProps)
func NewCfnViewVersion_Override ¶ added in v2.97.0
func NewCfnViewVersion_Override(c CfnViewVersion, scope constructs.Construct, id *string, props *CfnViewVersionProps)
func NewCfnView_Override ¶ added in v2.97.0
func NewCfnView_Override(c CfnView, scope constructs.Construct, id *string, props *CfnViewProps)
Types ¶
type CfnAgentStatus ¶ added in v2.159.0
type CfnAgentStatus interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggableV2 // The Amazon Resource Name (ARN) of the agent status. AttrAgentStatusArn() *string // The AWS Region where this resource was last modified. AttrLastModifiedRegion() *string // The timestamp when this resource was last modified. AttrLastModifiedTime() awscdk.IResolvable // Tag Manager which manages the tags for this resource. CdkTagManager() awscdk.TagManager // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The description of the agent status. Description() *string SetDescription(val *string) // The display order of the agent status. DisplayOrder() *float64 SetDisplayOrder(val *float64) // The Amazon Resource Name (ARN) of the instance. InstanceArn() *string SetInstanceArn(val *string) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The name of the agent status. Name() *string SetName(val *string) // The tree node. Node() constructs.Node // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // A number indicating the reset order of the agent status. ResetOrderNumber() interface{} SetResetOrderNumber(val interface{}) // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // The state of the agent status. State() *string SetState(val *string) // The tags used to organize, track, or control access for this resource. Tags() *[]*awscdk.CfnTag SetTags(val *[]*awscdk.CfnTag) // The type of agent status. Type() *string SetType(val *string) // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
Contains information about an agent status.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnAgentStatus := awscdk.Aws_connect.NewCfnAgentStatus(this, jsii.String("MyCfnAgentStatus"), &CfnAgentStatusProps{ InstanceArn: jsii.String("instanceArn"), Name: jsii.String("name"), State: jsii.String("state"), // the properties below are optional Description: jsii.String("description"), DisplayOrder: jsii.Number(123), ResetOrderNumber: jsii.Boolean(false), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, Type: jsii.String("type"), })
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-agentstatus.html
func NewCfnAgentStatus ¶ added in v2.159.0
func NewCfnAgentStatus(scope constructs.Construct, id *string, props *CfnAgentStatusProps) CfnAgentStatus
type CfnAgentStatusProps ¶ added in v2.159.0
type CfnAgentStatusProps struct { // The Amazon Resource Name (ARN) of the instance. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-agentstatus.html#cfn-connect-agentstatus-instancearn // InstanceArn *string `field:"required" json:"instanceArn" yaml:"instanceArn"` // The name of the agent status. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-agentstatus.html#cfn-connect-agentstatus-name // Name *string `field:"required" json:"name" yaml:"name"` // The state of the agent status. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-agentstatus.html#cfn-connect-agentstatus-state // State *string `field:"required" json:"state" yaml:"state"` // The description of the agent status. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-agentstatus.html#cfn-connect-agentstatus-description // Description *string `field:"optional" json:"description" yaml:"description"` // The display order of the agent status. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-agentstatus.html#cfn-connect-agentstatus-displayorder // DisplayOrder *float64 `field:"optional" json:"displayOrder" yaml:"displayOrder"` // A number indicating the reset order of the agent status. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-agentstatus.html#cfn-connect-agentstatus-resetordernumber // ResetOrderNumber interface{} `field:"optional" json:"resetOrderNumber" yaml:"resetOrderNumber"` // The tags used to organize, track, or control access for this resource. // // For example, { "Tags": {"key1":"value1", "key2":"value2"} }. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-agentstatus.html#cfn-connect-agentstatus-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` // The type of agent status. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-agentstatus.html#cfn-connect-agentstatus-type // Type *string `field:"optional" json:"type" yaml:"type"` }
Properties for defining a `CfnAgentStatus`.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnAgentStatusProps := &CfnAgentStatusProps{ InstanceArn: jsii.String("instanceArn"), Name: jsii.String("name"), State: jsii.String("state"), // the properties below are optional Description: jsii.String("description"), DisplayOrder: jsii.Number(123), ResetOrderNumber: jsii.Boolean(false), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, Type: jsii.String("type"), }
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-agentstatus.html
type CfnApprovedOrigin ¶ added in v2.63.0
type CfnApprovedOrigin interface { awscdk.CfnResource awscdk.IInspectable // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The Amazon Resource Name (ARN) of the instance. InstanceId() *string SetInstanceId(val *string) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The tree node. Node() constructs.Node // Domain name to be added to the allow-list of the instance. Origin() *string SetOrigin(val *string) // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
The approved origin for the instance.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnApprovedOrigin := awscdk.Aws_connect.NewCfnApprovedOrigin(this, jsii.String("MyCfnApprovedOrigin"), &CfnApprovedOriginProps{ InstanceId: jsii.String("instanceId"), Origin: jsii.String("origin"), })
func NewCfnApprovedOrigin ¶ added in v2.63.0
func NewCfnApprovedOrigin(scope constructs.Construct, id *string, props *CfnApprovedOriginProps) CfnApprovedOrigin
type CfnApprovedOriginProps ¶ added in v2.63.0
type CfnApprovedOriginProps struct { // The Amazon Resource Name (ARN) of the instance. // // *Minimum* : `1` // // *Maximum* : `100`. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-approvedorigin.html#cfn-connect-approvedorigin-instanceid // InstanceId *string `field:"required" json:"instanceId" yaml:"instanceId"` // Domain name to be added to the allow-list of the instance. // // *Maximum* : `267`. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-approvedorigin.html#cfn-connect-approvedorigin-origin // Origin *string `field:"required" json:"origin" yaml:"origin"` }
Properties for defining a `CfnApprovedOrigin`.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnApprovedOriginProps := &CfnApprovedOriginProps{ InstanceId: jsii.String("instanceId"), Origin: jsii.String("origin"), }
type CfnContactFlow ¶ added in v2.2.0
type CfnContactFlow interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggable // `Ref` returns the Amazon Resource Name (ARN) of the flow. For example:. // // `{ "Ref": "myFlowArn" }`. AttrContactFlowArn() *string // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // The content of the flow. Content() *string SetContent(val *string) // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The description of the flow. Description() *string SetDescription(val *string) // The Amazon Resource Name (ARN) of the Amazon Connect instance. InstanceArn() *string SetInstanceArn(val *string) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The name of the flow. Name() *string SetName(val *string) // The tree node. Node() constructs.Node // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // The state of the flow. State() *string SetState(val *string) // Tag Manager which manages the tags for this resource. Tags() awscdk.TagManager // An array of key-value pairs to apply to this resource. TagsRaw() *[]*awscdk.CfnTag SetTagsRaw(val *[]*awscdk.CfnTag) // The type of the flow. Type() *string SetType(val *string) // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
Specifies a flow for an Amazon Connect instance.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnContactFlow := awscdk.Aws_connect.NewCfnContactFlow(this, jsii.String("MyCfnContactFlow"), &CfnContactFlowProps{ Content: jsii.String("content"), InstanceArn: jsii.String("instanceArn"), Name: jsii.String("name"), Type: jsii.String("type"), // the properties below are optional Description: jsii.String("description"), State: jsii.String("state"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, })
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflow.html
func NewCfnContactFlow ¶ added in v2.2.0
func NewCfnContactFlow(scope constructs.Construct, id *string, props *CfnContactFlowProps) CfnContactFlow
type CfnContactFlowModule ¶ added in v2.2.0
type CfnContactFlowModule interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggable // `Ref` returns the Amazon Resource Name (ARN) of the flow module. For example:. // // `{ "Ref": "myFlowModuleArn" }`. AttrContactFlowModuleArn() *string // The status of the contact flow module. AttrStatus() *string // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // The content of the flow module. Content() *string SetContent(val *string) // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The description of the flow module. Description() *string SetDescription(val *string) // The Amazon Resource Name (ARN) of the Amazon Connect instance. InstanceArn() *string SetInstanceArn(val *string) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The name of the flow module. Name() *string SetName(val *string) // The tree node. Node() constructs.Node // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // The state of the flow module. State() *string SetState(val *string) // Tag Manager which manages the tags for this resource. Tags() awscdk.TagManager // An array of key-value pairs to apply to this resource. TagsRaw() *[]*awscdk.CfnTag SetTagsRaw(val *[]*awscdk.CfnTag) // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
Specifies a flow module for an Amazon Connect instance.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnContactFlowModule := awscdk.Aws_connect.NewCfnContactFlowModule(this, jsii.String("MyCfnContactFlowModule"), &CfnContactFlowModuleProps{ Content: jsii.String("content"), InstanceArn: jsii.String("instanceArn"), Name: jsii.String("name"), // the properties below are optional Description: jsii.String("description"), State: jsii.String("state"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, })
func NewCfnContactFlowModule ¶ added in v2.2.0
func NewCfnContactFlowModule(scope constructs.Construct, id *string, props *CfnContactFlowModuleProps) CfnContactFlowModule
type CfnContactFlowModuleProps ¶ added in v2.2.0
type CfnContactFlowModuleProps struct { // The content of the flow module. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflowmodule.html#cfn-connect-contactflowmodule-content // Content *string `field:"required" json:"content" yaml:"content"` // The Amazon Resource Name (ARN) of the Amazon Connect instance. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflowmodule.html#cfn-connect-contactflowmodule-instancearn // InstanceArn *string `field:"required" json:"instanceArn" yaml:"instanceArn"` // The name of the flow module. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflowmodule.html#cfn-connect-contactflowmodule-name // Name *string `field:"required" json:"name" yaml:"name"` // The description of the flow module. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflowmodule.html#cfn-connect-contactflowmodule-description // Description *string `field:"optional" json:"description" yaml:"description"` // The state of the flow module. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflowmodule.html#cfn-connect-contactflowmodule-state // State *string `field:"optional" json:"state" yaml:"state"` // An array of key-value pairs to apply to this resource. // // For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflowmodule.html#cfn-connect-contactflowmodule-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `CfnContactFlowModule`.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnContactFlowModuleProps := &CfnContactFlowModuleProps{ Content: jsii.String("content"), InstanceArn: jsii.String("instanceArn"), Name: jsii.String("name"), // the properties below are optional Description: jsii.String("description"), State: jsii.String("state"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }
type CfnContactFlowProps ¶ added in v2.2.0
type CfnContactFlowProps struct { // The content of the flow. // // For more information, see [Amazon Connect Flow language](https://docs.aws.amazon.com/connect/latest/adminguide/flow-language.html) in the *Amazon Connect Administrator Guide* . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflow.html#cfn-connect-contactflow-content // Content *string `field:"required" json:"content" yaml:"content"` // The Amazon Resource Name (ARN) of the Amazon Connect instance. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflow.html#cfn-connect-contactflow-instancearn // InstanceArn *string `field:"required" json:"instanceArn" yaml:"instanceArn"` // The name of the flow. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflow.html#cfn-connect-contactflow-name // Name *string `field:"required" json:"name" yaml:"name"` // The type of the flow. // // For descriptions of the available types, see [Choose a flow type](https://docs.aws.amazon.com/connect/latest/adminguide/create-contact-flow.html#contact-flow-types) in the *Amazon Connect Administrator Guide* . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflow.html#cfn-connect-contactflow-type // Type *string `field:"required" json:"type" yaml:"type"` // The description of the flow. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflow.html#cfn-connect-contactflow-description // Description *string `field:"optional" json:"description" yaml:"description"` // The state of the flow. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflow.html#cfn-connect-contactflow-state // State *string `field:"optional" json:"state" yaml:"state"` // An array of key-value pairs to apply to this resource. // // For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflow.html#cfn-connect-contactflow-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `CfnContactFlow`.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnContactFlowProps := &CfnContactFlowProps{ Content: jsii.String("content"), InstanceArn: jsii.String("instanceArn"), Name: jsii.String("name"), Type: jsii.String("type"), // the properties below are optional Description: jsii.String("description"), State: jsii.String("state"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflow.html
type CfnEvaluationForm ¶ added in v2.79.0
type CfnEvaluationForm interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggable // The Amazon Resource Name (ARN) of the evaluation form. AttrEvaluationFormArn() *string // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The description of the evaluation form. Description() *string SetDescription(val *string) // The identifier of the Amazon Connect instance. InstanceArn() *string SetInstanceArn(val *string) // Items that are part of the evaluation form. Items() interface{} SetItems(val interface{}) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The tree node. Node() constructs.Node // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // A scoring strategy of the evaluation form. ScoringStrategy() interface{} SetScoringStrategy(val interface{}) // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // The status of the evaluation form. Status() *string SetStatus(val *string) // Tag Manager which manages the tags for this resource. Tags() awscdk.TagManager // The tags used to organize, track, or control access for this resource. TagsRaw() *[]*awscdk.CfnTag SetTagsRaw(val *[]*awscdk.CfnTag) // A title of the evaluation form. Title() *string SetTitle(val *string) // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
Creates an evaluation form for the specified Amazon Connect instance.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" var evaluationFormSectionProperty_ evaluationFormSectionProperty cfnEvaluationForm := awscdk.Aws_connect.NewCfnEvaluationForm(this, jsii.String("MyCfnEvaluationForm"), &CfnEvaluationFormProps{ InstanceArn: jsii.String("instanceArn"), Items: []interface{}{ &EvaluationFormBaseItemProperty{ Section: &evaluationFormSectionProperty{ RefId: jsii.String("refId"), Title: jsii.String("title"), // the properties below are optional Instructions: jsii.String("instructions"), Items: []interface{}{ &EvaluationFormItemProperty{ Question: &EvaluationFormQuestionProperty{ QuestionType: jsii.String("questionType"), RefId: jsii.String("refId"), Title: jsii.String("title"), // the properties below are optional Instructions: jsii.String("instructions"), NotApplicableEnabled: jsii.Boolean(false), QuestionTypeProperties: &EvaluationFormQuestionTypePropertiesProperty{ Numeric: &EvaluationFormNumericQuestionPropertiesProperty{ MaxValue: jsii.Number(123), MinValue: jsii.Number(123), // the properties below are optional Automation: &EvaluationFormNumericQuestionAutomationProperty{ PropertyValue: &NumericQuestionPropertyValueAutomationProperty{ Label: jsii.String("label"), }, }, Options: []interface{}{ &EvaluationFormNumericQuestionOptionProperty{ MaxValue: jsii.Number(123), MinValue: jsii.Number(123), // the properties below are optional AutomaticFail: jsii.Boolean(false), Score: jsii.Number(123), }, }, }, SingleSelect: &EvaluationFormSingleSelectQuestionPropertiesProperty{ Options: []interface{}{ &EvaluationFormSingleSelectQuestionOptionProperty{ RefId: jsii.String("refId"), Text: jsii.String("text"), // the properties below are optional AutomaticFail: jsii.Boolean(false), Score: jsii.Number(123), }, }, // the properties below are optional Automation: &EvaluationFormSingleSelectQuestionAutomationProperty{ Options: []interface{}{ &EvaluationFormSingleSelectQuestionAutomationOptionProperty{ RuleCategory: &SingleSelectQuestionRuleCategoryAutomationProperty{ Category: jsii.String("category"), Condition: jsii.String("condition"), OptionRefId: jsii.String("optionRefId"), }, }, }, // the properties below are optional DefaultOptionRefId: jsii.String("defaultOptionRefId"), }, DisplayAs: jsii.String("displayAs"), }, }, Weight: jsii.Number(123), }, Section: evaluationFormSectionProperty_, }, }, Weight: jsii.Number(123), }, }, }, Status: jsii.String("status"), Title: jsii.String("title"), // the properties below are optional Description: jsii.String("description"), ScoringStrategy: &ScoringStrategyProperty{ Mode: jsii.String("mode"), Status: jsii.String("status"), }, Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, })
func NewCfnEvaluationForm ¶ added in v2.79.0
func NewCfnEvaluationForm(scope constructs.Construct, id *string, props *CfnEvaluationFormProps) CfnEvaluationForm
type CfnEvaluationFormProps ¶ added in v2.79.0
type CfnEvaluationFormProps struct { // The identifier of the Amazon Connect instance. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-evaluationform.html#cfn-connect-evaluationform-instancearn // InstanceArn *string `field:"required" json:"instanceArn" yaml:"instanceArn"` // Items that are part of the evaluation form. // // The total number of sections and questions must not exceed 100 each. Questions must be contained in a section. // // *Minimum size* : 1 // // *Maximum size* : 100. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-evaluationform.html#cfn-connect-evaluationform-items // Items interface{} `field:"required" json:"items" yaml:"items"` // The status of the evaluation form. // // *Allowed values* : `DRAFT` | `ACTIVE`. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-evaluationform.html#cfn-connect-evaluationform-status // // Default: - "DRAFT". // Status *string `field:"required" json:"status" yaml:"status"` // A title of the evaluation form. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-evaluationform.html#cfn-connect-evaluationform-title // Title *string `field:"required" json:"title" yaml:"title"` // The description of the evaluation form. // // *Length Constraints* : Minimum length of 0. Maximum length of 1024. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-evaluationform.html#cfn-connect-evaluationform-description // Description *string `field:"optional" json:"description" yaml:"description"` // A scoring strategy of the evaluation form. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-evaluationform.html#cfn-connect-evaluationform-scoringstrategy // ScoringStrategy interface{} `field:"optional" json:"scoringStrategy" yaml:"scoringStrategy"` // The tags used to organize, track, or control access for this resource. // // For example, { "tags": {"key1":"value1", "key2":"value2"} }. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-evaluationform.html#cfn-connect-evaluationform-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `CfnEvaluationForm`.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" var evaluationFormSectionProperty_ evaluationFormSectionProperty cfnEvaluationFormProps := &CfnEvaluationFormProps{ InstanceArn: jsii.String("instanceArn"), Items: []interface{}{ &EvaluationFormBaseItemProperty{ Section: &evaluationFormSectionProperty{ RefId: jsii.String("refId"), Title: jsii.String("title"), // the properties below are optional Instructions: jsii.String("instructions"), Items: []interface{}{ &EvaluationFormItemProperty{ Question: &EvaluationFormQuestionProperty{ QuestionType: jsii.String("questionType"), RefId: jsii.String("refId"), Title: jsii.String("title"), // the properties below are optional Instructions: jsii.String("instructions"), NotApplicableEnabled: jsii.Boolean(false), QuestionTypeProperties: &EvaluationFormQuestionTypePropertiesProperty{ Numeric: &EvaluationFormNumericQuestionPropertiesProperty{ MaxValue: jsii.Number(123), MinValue: jsii.Number(123), // the properties below are optional Automation: &EvaluationFormNumericQuestionAutomationProperty{ PropertyValue: &NumericQuestionPropertyValueAutomationProperty{ Label: jsii.String("label"), }, }, Options: []interface{}{ &EvaluationFormNumericQuestionOptionProperty{ MaxValue: jsii.Number(123), MinValue: jsii.Number(123), // the properties below are optional AutomaticFail: jsii.Boolean(false), Score: jsii.Number(123), }, }, }, SingleSelect: &EvaluationFormSingleSelectQuestionPropertiesProperty{ Options: []interface{}{ &EvaluationFormSingleSelectQuestionOptionProperty{ RefId: jsii.String("refId"), Text: jsii.String("text"), // the properties below are optional AutomaticFail: jsii.Boolean(false), Score: jsii.Number(123), }, }, // the properties below are optional Automation: &EvaluationFormSingleSelectQuestionAutomationProperty{ Options: []interface{}{ &EvaluationFormSingleSelectQuestionAutomationOptionProperty{ RuleCategory: &SingleSelectQuestionRuleCategoryAutomationProperty{ Category: jsii.String("category"), Condition: jsii.String("condition"), OptionRefId: jsii.String("optionRefId"), }, }, }, // the properties below are optional DefaultOptionRefId: jsii.String("defaultOptionRefId"), }, DisplayAs: jsii.String("displayAs"), }, }, Weight: jsii.Number(123), }, Section: evaluationFormSectionProperty_, }, }, Weight: jsii.Number(123), }, }, }, Status: jsii.String("status"), Title: jsii.String("title"), // the properties below are optional Description: jsii.String("description"), ScoringStrategy: &ScoringStrategyProperty{ Mode: jsii.String("mode"), Status: jsii.String("status"), }, Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }
type CfnEvaluationForm_EvaluationFormBaseItemProperty ¶ added in v2.79.0
type CfnEvaluationForm_EvaluationFormBaseItemProperty struct { // A subsection or inner section of an item. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformbaseitem.html#cfn-connect-evaluationform-evaluationformbaseitem-section // Section interface{} `field:"required" json:"section" yaml:"section"` }
An item at the root level.
All items must be sections.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" var evaluationFormSectionProperty_ evaluationFormSectionProperty evaluationFormBaseItemProperty := &EvaluationFormBaseItemProperty{ Section: &evaluationFormSectionProperty{ RefId: jsii.String("refId"), Title: jsii.String("title"), // the properties below are optional Instructions: jsii.String("instructions"), Items: []interface{}{ &EvaluationFormItemProperty{ Question: &EvaluationFormQuestionProperty{ QuestionType: jsii.String("questionType"), RefId: jsii.String("refId"), Title: jsii.String("title"), // the properties below are optional Instructions: jsii.String("instructions"), NotApplicableEnabled: jsii.Boolean(false), QuestionTypeProperties: &EvaluationFormQuestionTypePropertiesProperty{ Numeric: &EvaluationFormNumericQuestionPropertiesProperty{ MaxValue: jsii.Number(123), MinValue: jsii.Number(123), // the properties below are optional Automation: &EvaluationFormNumericQuestionAutomationProperty{ PropertyValue: &NumericQuestionPropertyValueAutomationProperty{ Label: jsii.String("label"), }, }, Options: []interface{}{ &EvaluationFormNumericQuestionOptionProperty{ MaxValue: jsii.Number(123), MinValue: jsii.Number(123), // the properties below are optional AutomaticFail: jsii.Boolean(false), Score: jsii.Number(123), }, }, }, SingleSelect: &EvaluationFormSingleSelectQuestionPropertiesProperty{ Options: []interface{}{ &EvaluationFormSingleSelectQuestionOptionProperty{ RefId: jsii.String("refId"), Text: jsii.String("text"), // the properties below are optional AutomaticFail: jsii.Boolean(false), Score: jsii.Number(123), }, }, // the properties below are optional Automation: &EvaluationFormSingleSelectQuestionAutomationProperty{ Options: []interface{}{ &EvaluationFormSingleSelectQuestionAutomationOptionProperty{ RuleCategory: &SingleSelectQuestionRuleCategoryAutomationProperty{ Category: jsii.String("category"), Condition: jsii.String("condition"), OptionRefId: jsii.String("optionRefId"), }, }, }, // the properties below are optional DefaultOptionRefId: jsii.String("defaultOptionRefId"), }, DisplayAs: jsii.String("displayAs"), }, }, Weight: jsii.Number(123), }, Section: evaluationFormSectionProperty_, }, }, Weight: jsii.Number(123), }, }
type CfnEvaluationForm_EvaluationFormItemProperty ¶ added in v2.79.0
type CfnEvaluationForm_EvaluationFormItemProperty struct { // The information of the question. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformitem.html#cfn-connect-evaluationform-evaluationformitem-question // Question interface{} `field:"optional" json:"question" yaml:"question"` // The information of the section. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformitem.html#cfn-connect-evaluationform-evaluationformitem-section // Section interface{} `field:"optional" json:"section" yaml:"section"` }
Items that are part of the evaluation form.
The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" var evaluationFormItemProperty_ evaluationFormItemProperty evaluationFormItemProperty := &evaluationFormItemProperty{ Question: &EvaluationFormQuestionProperty{ QuestionType: jsii.String("questionType"), RefId: jsii.String("refId"), Title: jsii.String("title"), // the properties below are optional Instructions: jsii.String("instructions"), NotApplicableEnabled: jsii.Boolean(false), QuestionTypeProperties: &EvaluationFormQuestionTypePropertiesProperty{ Numeric: &EvaluationFormNumericQuestionPropertiesProperty{ MaxValue: jsii.Number(123), MinValue: jsii.Number(123), // the properties below are optional Automation: &EvaluationFormNumericQuestionAutomationProperty{ PropertyValue: &NumericQuestionPropertyValueAutomationProperty{ Label: jsii.String("label"), }, }, Options: []interface{}{ &EvaluationFormNumericQuestionOptionProperty{ MaxValue: jsii.Number(123), MinValue: jsii.Number(123), // the properties below are optional AutomaticFail: jsii.Boolean(false), Score: jsii.Number(123), }, }, }, SingleSelect: &EvaluationFormSingleSelectQuestionPropertiesProperty{ Options: []interface{}{ &EvaluationFormSingleSelectQuestionOptionProperty{ RefId: jsii.String("refId"), Text: jsii.String("text"), // the properties below are optional AutomaticFail: jsii.Boolean(false), Score: jsii.Number(123), }, }, // the properties below are optional Automation: &EvaluationFormSingleSelectQuestionAutomationProperty{ Options: []interface{}{ &EvaluationFormSingleSelectQuestionAutomationOptionProperty{ RuleCategory: &SingleSelectQuestionRuleCategoryAutomationProperty{ Category: jsii.String("category"), Condition: jsii.String("condition"), OptionRefId: jsii.String("optionRefId"), }, }, }, // the properties below are optional DefaultOptionRefId: jsii.String("defaultOptionRefId"), }, DisplayAs: jsii.String("displayAs"), }, }, Weight: jsii.Number(123), }, Section: &EvaluationFormSectionProperty{ RefId: jsii.String("refId"), Title: jsii.String("title"), // the properties below are optional Instructions: jsii.String("instructions"), Items: []interface{}{ evaluationFormItemProperty_, }, Weight: jsii.Number(123), }, }
type CfnEvaluationForm_EvaluationFormNumericQuestionAutomationProperty ¶ added in v2.79.0
type CfnEvaluationForm_EvaluationFormNumericQuestionAutomationProperty struct { // The property value of the automation. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformnumericquestionautomation.html#cfn-connect-evaluationform-evaluationformnumericquestionautomation-propertyvalue // PropertyValue interface{} `field:"required" json:"propertyValue" yaml:"propertyValue"` }
Information about the automation configuration in numeric questions.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" evaluationFormNumericQuestionAutomationProperty := &EvaluationFormNumericQuestionAutomationProperty{ PropertyValue: &NumericQuestionPropertyValueAutomationProperty{ Label: jsii.String("label"), }, }
type CfnEvaluationForm_EvaluationFormNumericQuestionOptionProperty ¶ added in v2.79.0
type CfnEvaluationForm_EvaluationFormNumericQuestionOptionProperty struct { // The maximum answer value of the range option. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformnumericquestionoption.html#cfn-connect-evaluationform-evaluationformnumericquestionoption-maxvalue // MaxValue *float64 `field:"required" json:"maxValue" yaml:"maxValue"` // The minimum answer value of the range option. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformnumericquestionoption.html#cfn-connect-evaluationform-evaluationformnumericquestionoption-minvalue // MinValue *float64 `field:"required" json:"minValue" yaml:"minValue"` // The flag to mark the option as automatic fail. // // If an automatic fail answer is provided, the overall evaluation gets a score of 0. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformnumericquestionoption.html#cfn-connect-evaluationform-evaluationformnumericquestionoption-automaticfail // AutomaticFail interface{} `field:"optional" json:"automaticFail" yaml:"automaticFail"` // The score assigned to answer values within the range option. // // *Minimum* : 0 // // *Maximum* : 10. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformnumericquestionoption.html#cfn-connect-evaluationform-evaluationformnumericquestionoption-score // Score *float64 `field:"optional" json:"score" yaml:"score"` }
Information about the option range used for scoring in numeric questions.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" evaluationFormNumericQuestionOptionProperty := &EvaluationFormNumericQuestionOptionProperty{ MaxValue: jsii.Number(123), MinValue: jsii.Number(123), // the properties below are optional AutomaticFail: jsii.Boolean(false), Score: jsii.Number(123), }
type CfnEvaluationForm_EvaluationFormNumericQuestionPropertiesProperty ¶ added in v2.79.0
type CfnEvaluationForm_EvaluationFormNumericQuestionPropertiesProperty struct { // The maximum answer value. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformnumericquestionproperties.html#cfn-connect-evaluationform-evaluationformnumericquestionproperties-maxvalue // MaxValue *float64 `field:"required" json:"maxValue" yaml:"maxValue"` // The minimum answer value. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformnumericquestionproperties.html#cfn-connect-evaluationform-evaluationformnumericquestionproperties-minvalue // MinValue *float64 `field:"required" json:"minValue" yaml:"minValue"` // The automation properties of the numeric question. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformnumericquestionproperties.html#cfn-connect-evaluationform-evaluationformnumericquestionproperties-automation // Automation interface{} `field:"optional" json:"automation" yaml:"automation"` // The scoring options of the numeric question. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformnumericquestionproperties.html#cfn-connect-evaluationform-evaluationformnumericquestionproperties-options // Options interface{} `field:"optional" json:"options" yaml:"options"` }
Information about properties for a numeric question in an evaluation form.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" evaluationFormNumericQuestionPropertiesProperty := &EvaluationFormNumericQuestionPropertiesProperty{ MaxValue: jsii.Number(123), MinValue: jsii.Number(123), // the properties below are optional Automation: &EvaluationFormNumericQuestionAutomationProperty{ PropertyValue: &NumericQuestionPropertyValueAutomationProperty{ Label: jsii.String("label"), }, }, Options: []interface{}{ &EvaluationFormNumericQuestionOptionProperty{ MaxValue: jsii.Number(123), MinValue: jsii.Number(123), // the properties below are optional AutomaticFail: jsii.Boolean(false), Score: jsii.Number(123), }, }, }
type CfnEvaluationForm_EvaluationFormQuestionProperty ¶ added in v2.79.0
type CfnEvaluationForm_EvaluationFormQuestionProperty struct { // The type of the question. // // *Allowed values* : `NUMERIC` | `SINGLESELECT` | `TEXT`. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformquestion.html#cfn-connect-evaluationform-evaluationformquestion-questiontype // QuestionType *string `field:"required" json:"questionType" yaml:"questionType"` // The identifier of the question. An identifier must be unique within the evaluation form. // // *Length Constraints* : Minimum length of 1. Maximum length of 40. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformquestion.html#cfn-connect-evaluationform-evaluationformquestion-refid // RefId *string `field:"required" json:"refId" yaml:"refId"` // The title of the question. // // *Length Constraints* : Minimum length of 1. Maximum length of 350. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformquestion.html#cfn-connect-evaluationform-evaluationformquestion-title // Title *string `field:"required" json:"title" yaml:"title"` // The instructions of the section. // // *Length Constraints* : Minimum length of 0. Maximum length of 1024. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformquestion.html#cfn-connect-evaluationform-evaluationformquestion-instructions // Instructions *string `field:"optional" json:"instructions" yaml:"instructions"` // The flag to enable not applicable answers to the question. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformquestion.html#cfn-connect-evaluationform-evaluationformquestion-notapplicableenabled // NotApplicableEnabled interface{} `field:"optional" json:"notApplicableEnabled" yaml:"notApplicableEnabled"` // The properties of the type of question. // // Text questions do not have to define question type properties. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformquestion.html#cfn-connect-evaluationform-evaluationformquestion-questiontypeproperties // QuestionTypeProperties interface{} `field:"optional" json:"questionTypeProperties" yaml:"questionTypeProperties"` // The scoring weight of the section. // // *Minimum* : 0 // // *Maximum* : 100. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformquestion.html#cfn-connect-evaluationform-evaluationformquestion-weight // Weight *float64 `field:"optional" json:"weight" yaml:"weight"` }
Information about a question from an evaluation form.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" evaluationFormQuestionProperty := &EvaluationFormQuestionProperty{ QuestionType: jsii.String("questionType"), RefId: jsii.String("refId"), Title: jsii.String("title"), // the properties below are optional Instructions: jsii.String("instructions"), NotApplicableEnabled: jsii.Boolean(false), QuestionTypeProperties: &EvaluationFormQuestionTypePropertiesProperty{ Numeric: &EvaluationFormNumericQuestionPropertiesProperty{ MaxValue: jsii.Number(123), MinValue: jsii.Number(123), // the properties below are optional Automation: &EvaluationFormNumericQuestionAutomationProperty{ PropertyValue: &NumericQuestionPropertyValueAutomationProperty{ Label: jsii.String("label"), }, }, Options: []interface{}{ &EvaluationFormNumericQuestionOptionProperty{ MaxValue: jsii.Number(123), MinValue: jsii.Number(123), // the properties below are optional AutomaticFail: jsii.Boolean(false), Score: jsii.Number(123), }, }, }, SingleSelect: &EvaluationFormSingleSelectQuestionPropertiesProperty{ Options: []interface{}{ &EvaluationFormSingleSelectQuestionOptionProperty{ RefId: jsii.String("refId"), Text: jsii.String("text"), // the properties below are optional AutomaticFail: jsii.Boolean(false), Score: jsii.Number(123), }, }, // the properties below are optional Automation: &EvaluationFormSingleSelectQuestionAutomationProperty{ Options: []interface{}{ &EvaluationFormSingleSelectQuestionAutomationOptionProperty{ RuleCategory: &SingleSelectQuestionRuleCategoryAutomationProperty{ Category: jsii.String("category"), Condition: jsii.String("condition"), OptionRefId: jsii.String("optionRefId"), }, }, }, // the properties below are optional DefaultOptionRefId: jsii.String("defaultOptionRefId"), }, DisplayAs: jsii.String("displayAs"), }, }, Weight: jsii.Number(123), }
type CfnEvaluationForm_EvaluationFormQuestionTypePropertiesProperty ¶ added in v2.79.0
type CfnEvaluationForm_EvaluationFormQuestionTypePropertiesProperty struct { // The properties of the numeric question. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformquestiontypeproperties.html#cfn-connect-evaluationform-evaluationformquestiontypeproperties-numeric // Numeric interface{} `field:"optional" json:"numeric" yaml:"numeric"` // The properties of the numeric question. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformquestiontypeproperties.html#cfn-connect-evaluationform-evaluationformquestiontypeproperties-singleselect // SingleSelect interface{} `field:"optional" json:"singleSelect" yaml:"singleSelect"` }
Information about properties for a question in an evaluation form.
The question type properties must be either for a numeric question or a single select question.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" evaluationFormQuestionTypePropertiesProperty := &EvaluationFormQuestionTypePropertiesProperty{ Numeric: &EvaluationFormNumericQuestionPropertiesProperty{ MaxValue: jsii.Number(123), MinValue: jsii.Number(123), // the properties below are optional Automation: &EvaluationFormNumericQuestionAutomationProperty{ PropertyValue: &NumericQuestionPropertyValueAutomationProperty{ Label: jsii.String("label"), }, }, Options: []interface{}{ &EvaluationFormNumericQuestionOptionProperty{ MaxValue: jsii.Number(123), MinValue: jsii.Number(123), // the properties below are optional AutomaticFail: jsii.Boolean(false), Score: jsii.Number(123), }, }, }, SingleSelect: &EvaluationFormSingleSelectQuestionPropertiesProperty{ Options: []interface{}{ &EvaluationFormSingleSelectQuestionOptionProperty{ RefId: jsii.String("refId"), Text: jsii.String("text"), // the properties below are optional AutomaticFail: jsii.Boolean(false), Score: jsii.Number(123), }, }, // the properties below are optional Automation: &EvaluationFormSingleSelectQuestionAutomationProperty{ Options: []interface{}{ &EvaluationFormSingleSelectQuestionAutomationOptionProperty{ RuleCategory: &SingleSelectQuestionRuleCategoryAutomationProperty{ Category: jsii.String("category"), Condition: jsii.String("condition"), OptionRefId: jsii.String("optionRefId"), }, }, }, // the properties below are optional DefaultOptionRefId: jsii.String("defaultOptionRefId"), }, DisplayAs: jsii.String("displayAs"), }, }
type CfnEvaluationForm_EvaluationFormSectionProperty ¶ added in v2.79.0
type CfnEvaluationForm_EvaluationFormSectionProperty struct { // The identifier of the section. An identifier must be unique within the evaluation form. // // *Length Constraints* : Minimum length of 1. Maximum length of 40. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformsection.html#cfn-connect-evaluationform-evaluationformsection-refid // RefId *string `field:"required" json:"refId" yaml:"refId"` // The title of the section. // // *Length Constraints* : Minimum length of 1. Maximum length of 128. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformsection.html#cfn-connect-evaluationform-evaluationformsection-title // Title *string `field:"required" json:"title" yaml:"title"` // The instructions of the section. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformsection.html#cfn-connect-evaluationform-evaluationformsection-instructions // Instructions *string `field:"optional" json:"instructions" yaml:"instructions"` // The items of the section. // // *Minimum* : 1. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformsection.html#cfn-connect-evaluationform-evaluationformsection-items // Items interface{} `field:"optional" json:"items" yaml:"items"` // The scoring weight of the section. // // *Minimum* : 0 // // *Maximum* : 100. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformsection.html#cfn-connect-evaluationform-evaluationformsection-weight // Weight *float64 `field:"optional" json:"weight" yaml:"weight"` }
Information about a section from an evaluation form.
A section can contain sections and/or questions. Evaluation forms can only contain sections and subsections (two level nesting).
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" var evaluationFormSectionProperty_ evaluationFormSectionProperty evaluationFormSectionProperty := &evaluationFormSectionProperty{ RefId: jsii.String("refId"), Title: jsii.String("title"), // the properties below are optional Instructions: jsii.String("instructions"), Items: []interface{}{ &EvaluationFormItemProperty{ Question: &EvaluationFormQuestionProperty{ QuestionType: jsii.String("questionType"), RefId: jsii.String("refId"), Title: jsii.String("title"), // the properties below are optional Instructions: jsii.String("instructions"), NotApplicableEnabled: jsii.Boolean(false), QuestionTypeProperties: &EvaluationFormQuestionTypePropertiesProperty{ Numeric: &EvaluationFormNumericQuestionPropertiesProperty{ MaxValue: jsii.Number(123), MinValue: jsii.Number(123), // the properties below are optional Automation: &EvaluationFormNumericQuestionAutomationProperty{ PropertyValue: &NumericQuestionPropertyValueAutomationProperty{ Label: jsii.String("label"), }, }, Options: []interface{}{ &EvaluationFormNumericQuestionOptionProperty{ MaxValue: jsii.Number(123), MinValue: jsii.Number(123), // the properties below are optional AutomaticFail: jsii.Boolean(false), Score: jsii.Number(123), }, }, }, SingleSelect: &EvaluationFormSingleSelectQuestionPropertiesProperty{ Options: []interface{}{ &EvaluationFormSingleSelectQuestionOptionProperty{ RefId: jsii.String("refId"), Text: jsii.String("text"), // the properties below are optional AutomaticFail: jsii.Boolean(false), Score: jsii.Number(123), }, }, // the properties below are optional Automation: &EvaluationFormSingleSelectQuestionAutomationProperty{ Options: []interface{}{ &EvaluationFormSingleSelectQuestionAutomationOptionProperty{ RuleCategory: &SingleSelectQuestionRuleCategoryAutomationProperty{ Category: jsii.String("category"), Condition: jsii.String("condition"), OptionRefId: jsii.String("optionRefId"), }, }, }, // the properties below are optional DefaultOptionRefId: jsii.String("defaultOptionRefId"), }, DisplayAs: jsii.String("displayAs"), }, }, Weight: jsii.Number(123), }, Section: evaluationFormSectionProperty_, }, }, Weight: jsii.Number(123), }
type CfnEvaluationForm_EvaluationFormSingleSelectQuestionAutomationOptionProperty ¶ added in v2.79.0
type CfnEvaluationForm_EvaluationFormSingleSelectQuestionAutomationOptionProperty struct { // The automation option based on a rule category for the single select question. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformsingleselectquestionautomationoption.html#cfn-connect-evaluationform-evaluationformsingleselectquestionautomationoption-rulecategory // RuleCategory interface{} `field:"required" json:"ruleCategory" yaml:"ruleCategory"` }
The automation options of the single select question.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" evaluationFormSingleSelectQuestionAutomationOptionProperty := &EvaluationFormSingleSelectQuestionAutomationOptionProperty{ RuleCategory: &SingleSelectQuestionRuleCategoryAutomationProperty{ Category: jsii.String("category"), Condition: jsii.String("condition"), OptionRefId: jsii.String("optionRefId"), }, }
type CfnEvaluationForm_EvaluationFormSingleSelectQuestionAutomationProperty ¶ added in v2.79.0
type CfnEvaluationForm_EvaluationFormSingleSelectQuestionAutomationProperty struct { // The automation options of the single select question. // // *Minimum* : 1 // // *Maximum* : 20. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformsingleselectquestionautomation.html#cfn-connect-evaluationform-evaluationformsingleselectquestionautomation-options // Options interface{} `field:"required" json:"options" yaml:"options"` // The identifier of the default answer option, when none of the automation options match the criteria. // // *Length Constraints* : Minimum length of 1. Maximum length of 40. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformsingleselectquestionautomation.html#cfn-connect-evaluationform-evaluationformsingleselectquestionautomation-defaultoptionrefid // DefaultOptionRefId *string `field:"optional" json:"defaultOptionRefId" yaml:"defaultOptionRefId"` }
Information about the automation configuration in single select questions.
Automation options are evaluated in order, and the first matched option is applied. If no automation option matches, and there is a default option, then the default option is applied.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" evaluationFormSingleSelectQuestionAutomationProperty := &EvaluationFormSingleSelectQuestionAutomationProperty{ Options: []interface{}{ &EvaluationFormSingleSelectQuestionAutomationOptionProperty{ RuleCategory: &SingleSelectQuestionRuleCategoryAutomationProperty{ Category: jsii.String("category"), Condition: jsii.String("condition"), OptionRefId: jsii.String("optionRefId"), }, }, }, // the properties below are optional DefaultOptionRefId: jsii.String("defaultOptionRefId"), }
type CfnEvaluationForm_EvaluationFormSingleSelectQuestionOptionProperty ¶ added in v2.79.0
type CfnEvaluationForm_EvaluationFormSingleSelectQuestionOptionProperty struct { // The identifier of the answer option. An identifier must be unique within the question. // // *Length Constraints* : Minimum length of 1. Maximum length of 40. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformsingleselectquestionoption.html#cfn-connect-evaluationform-evaluationformsingleselectquestionoption-refid // RefId *string `field:"required" json:"refId" yaml:"refId"` // The title of the answer option. // // *Length Constraints* : Minimum length of 1. Maximum length of 128. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformsingleselectquestionoption.html#cfn-connect-evaluationform-evaluationformsingleselectquestionoption-text // Text *string `field:"required" json:"text" yaml:"text"` // The flag to mark the option as automatic fail. // // If an automatic fail answer is provided, the overall evaluation gets a score of 0. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformsingleselectquestionoption.html#cfn-connect-evaluationform-evaluationformsingleselectquestionoption-automaticfail // AutomaticFail interface{} `field:"optional" json:"automaticFail" yaml:"automaticFail"` // The score assigned to the answer option. // // *Minimum* : 0 // // *Maximum* : 10. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformsingleselectquestionoption.html#cfn-connect-evaluationform-evaluationformsingleselectquestionoption-score // Score *float64 `field:"optional" json:"score" yaml:"score"` }
Information about the automation configuration in single select questions.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" evaluationFormSingleSelectQuestionOptionProperty := &EvaluationFormSingleSelectQuestionOptionProperty{ RefId: jsii.String("refId"), Text: jsii.String("text"), // the properties below are optional AutomaticFail: jsii.Boolean(false), Score: jsii.Number(123), }
type CfnEvaluationForm_EvaluationFormSingleSelectQuestionPropertiesProperty ¶ added in v2.79.0
type CfnEvaluationForm_EvaluationFormSingleSelectQuestionPropertiesProperty struct { // The answer options of the single select question. // // *Minimum* : 2 // // *Maximum* : 256. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformsingleselectquestionproperties.html#cfn-connect-evaluationform-evaluationformsingleselectquestionproperties-options // Options interface{} `field:"required" json:"options" yaml:"options"` // The display mode of the single select question. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformsingleselectquestionproperties.html#cfn-connect-evaluationform-evaluationformsingleselectquestionproperties-automation // Automation interface{} `field:"optional" json:"automation" yaml:"automation"` // The display mode of the single select question. // // *Allowed values* : `DROPDOWN` | `RADIO`. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformsingleselectquestionproperties.html#cfn-connect-evaluationform-evaluationformsingleselectquestionproperties-displayas // DisplayAs *string `field:"optional" json:"displayAs" yaml:"displayAs"` }
Information about the options in single select questions.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" evaluationFormSingleSelectQuestionPropertiesProperty := &EvaluationFormSingleSelectQuestionPropertiesProperty{ Options: []interface{}{ &EvaluationFormSingleSelectQuestionOptionProperty{ RefId: jsii.String("refId"), Text: jsii.String("text"), // the properties below are optional AutomaticFail: jsii.Boolean(false), Score: jsii.Number(123), }, }, // the properties below are optional Automation: &EvaluationFormSingleSelectQuestionAutomationProperty{ Options: []interface{}{ &EvaluationFormSingleSelectQuestionAutomationOptionProperty{ RuleCategory: &SingleSelectQuestionRuleCategoryAutomationProperty{ Category: jsii.String("category"), Condition: jsii.String("condition"), OptionRefId: jsii.String("optionRefId"), }, }, }, // the properties below are optional DefaultOptionRefId: jsii.String("defaultOptionRefId"), }, DisplayAs: jsii.String("displayAs"), }
type CfnEvaluationForm_NumericQuestionPropertyValueAutomationProperty ¶ added in v2.79.0
type CfnEvaluationForm_NumericQuestionPropertyValueAutomationProperty struct { // The property label of the automation. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-numericquestionpropertyvalueautomation.html#cfn-connect-evaluationform-numericquestionpropertyvalueautomation-label // Label *string `field:"required" json:"label" yaml:"label"` }
Information about the property value used in automation of a numeric questions.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" numericQuestionPropertyValueAutomationProperty := &NumericQuestionPropertyValueAutomationProperty{ Label: jsii.String("label"), }
type CfnEvaluationForm_ScoringStrategyProperty ¶ added in v2.79.0
type CfnEvaluationForm_ScoringStrategyProperty struct { // The scoring mode of the evaluation form. // // *Allowed values* : `QUESTION_ONLY` | `SECTION_ONLY`. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-scoringstrategy.html#cfn-connect-evaluationform-scoringstrategy-mode // Mode *string `field:"required" json:"mode" yaml:"mode"` // The scoring status of the evaluation form. // // *Allowed values* : `ENABLED` | `DISABLED`. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-scoringstrategy.html#cfn-connect-evaluationform-scoringstrategy-status // Status *string `field:"required" json:"status" yaml:"status"` }
A scoring strategy of the evaluation form.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" scoringStrategyProperty := &ScoringStrategyProperty{ Mode: jsii.String("mode"), Status: jsii.String("status"), }
type CfnEvaluationForm_SingleSelectQuestionRuleCategoryAutomationProperty ¶ added in v2.79.0
type CfnEvaluationForm_SingleSelectQuestionRuleCategoryAutomationProperty struct { // The category name, as defined in Rules. // // *Minimum* : 1 // // *Maximum* : 50. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-singleselectquestionrulecategoryautomation.html#cfn-connect-evaluationform-singleselectquestionrulecategoryautomation-category // Category *string `field:"required" json:"category" yaml:"category"` // The condition to apply for the automation option. // // If the condition is PRESENT, then the option is applied when the contact data includes the category. Similarly, if the condition is NOT_PRESENT, then the option is applied when the contact data does not include the category. // // *Allowed values* : `PRESENT` | `NOT_PRESENT` // // *Maximum* : 50. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-singleselectquestionrulecategoryautomation.html#cfn-connect-evaluationform-singleselectquestionrulecategoryautomation-condition // Condition *string `field:"required" json:"condition" yaml:"condition"` // The identifier of the answer option. An identifier must be unique within the question. // // *Length Constraints* : Minimum length of 1. Maximum length of 40. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-singleselectquestionrulecategoryautomation.html#cfn-connect-evaluationform-singleselectquestionrulecategoryautomation-optionrefid // OptionRefId *string `field:"required" json:"optionRefId" yaml:"optionRefId"` }
Information about the automation option based on a rule category for a single select question.
*Length Constraints* : Minimum length of 1. Maximum length of 50.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" singleSelectQuestionRuleCategoryAutomationProperty := &SingleSelectQuestionRuleCategoryAutomationProperty{ Category: jsii.String("category"), Condition: jsii.String("condition"), OptionRefId: jsii.String("optionRefId"), }
type CfnHoursOfOperation ¶
type CfnHoursOfOperation interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggable // The Amazon Resource Name (ARN) of the hours of operation. AttrHoursOfOperationArn() *string // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Configuration information for the hours of operation. Config() interface{} SetConfig(val interface{}) // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The description for the hours of operation. Description() *string SetDescription(val *string) // The Amazon Resource Name (ARN) of the instance. InstanceArn() *string SetInstanceArn(val *string) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The name for the hours of operation. Name() *string SetName(val *string) // The tree node. Node() constructs.Node // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // Tag Manager which manages the tags for this resource. Tags() awscdk.TagManager // The tags used to organize, track, or control access for this resource. TagsRaw() *[]*awscdk.CfnTag SetTagsRaw(val *[]*awscdk.CfnTag) // The time zone for the hours of operation. TimeZone() *string SetTimeZone(val *string) // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
Specifies hours of operation.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnHoursOfOperation := awscdk.Aws_connect.NewCfnHoursOfOperation(this, jsii.String("MyCfnHoursOfOperation"), &CfnHoursOfOperationProps{ Config: []interface{}{ &HoursOfOperationConfigProperty{ Day: jsii.String("day"), EndTime: &HoursOfOperationTimeSliceProperty{ Hours: jsii.Number(123), Minutes: jsii.Number(123), }, StartTime: &HoursOfOperationTimeSliceProperty{ Hours: jsii.Number(123), Minutes: jsii.Number(123), }, }, }, InstanceArn: jsii.String("instanceArn"), Name: jsii.String("name"), TimeZone: jsii.String("timeZone"), // the properties below are optional Description: jsii.String("description"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, })
func NewCfnHoursOfOperation ¶
func NewCfnHoursOfOperation(scope constructs.Construct, id *string, props *CfnHoursOfOperationProps) CfnHoursOfOperation
type CfnHoursOfOperationProps ¶
type CfnHoursOfOperationProps struct { // Configuration information for the hours of operation. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-hoursofoperation.html#cfn-connect-hoursofoperation-config // Config interface{} `field:"required" json:"config" yaml:"config"` // The Amazon Resource Name (ARN) of the instance. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-hoursofoperation.html#cfn-connect-hoursofoperation-instancearn // InstanceArn *string `field:"required" json:"instanceArn" yaml:"instanceArn"` // The name for the hours of operation. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-hoursofoperation.html#cfn-connect-hoursofoperation-name // Name *string `field:"required" json:"name" yaml:"name"` // The time zone for the hours of operation. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-hoursofoperation.html#cfn-connect-hoursofoperation-timezone // TimeZone *string `field:"required" json:"timeZone" yaml:"timeZone"` // The description for the hours of operation. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-hoursofoperation.html#cfn-connect-hoursofoperation-description // Description *string `field:"optional" json:"description" yaml:"description"` // The tags used to organize, track, or control access for this resource. // // For example, { "Tags": {"key1":"value1", "key2":"value2"} }. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-hoursofoperation.html#cfn-connect-hoursofoperation-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `CfnHoursOfOperation`.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnHoursOfOperationProps := &CfnHoursOfOperationProps{ Config: []interface{}{ &HoursOfOperationConfigProperty{ Day: jsii.String("day"), EndTime: &HoursOfOperationTimeSliceProperty{ Hours: jsii.Number(123), Minutes: jsii.Number(123), }, StartTime: &HoursOfOperationTimeSliceProperty{ Hours: jsii.Number(123), Minutes: jsii.Number(123), }, }, }, InstanceArn: jsii.String("instanceArn"), Name: jsii.String("name"), TimeZone: jsii.String("timeZone"), // the properties below are optional Description: jsii.String("description"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }
type CfnHoursOfOperation_HoursOfOperationConfigProperty ¶
type CfnHoursOfOperation_HoursOfOperationConfigProperty struct { // The day that the hours of operation applies to. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationconfig.html#cfn-connect-hoursofoperation-hoursofoperationconfig-day // Day *string `field:"required" json:"day" yaml:"day"` // The end time that your contact center closes. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationconfig.html#cfn-connect-hoursofoperation-hoursofoperationconfig-endtime // EndTime interface{} `field:"required" json:"endTime" yaml:"endTime"` // The start time that your contact center opens. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationconfig.html#cfn-connect-hoursofoperation-hoursofoperationconfig-starttime // StartTime interface{} `field:"required" json:"startTime" yaml:"startTime"` }
Contains information about the hours of operation.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" hoursOfOperationConfigProperty := &HoursOfOperationConfigProperty{ Day: jsii.String("day"), EndTime: &HoursOfOperationTimeSliceProperty{ Hours: jsii.Number(123), Minutes: jsii.Number(123), }, StartTime: &HoursOfOperationTimeSliceProperty{ Hours: jsii.Number(123), Minutes: jsii.Number(123), }, }
type CfnHoursOfOperation_HoursOfOperationTimeSliceProperty ¶
type CfnHoursOfOperation_HoursOfOperationTimeSliceProperty struct { // The hours. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationtimeslice.html#cfn-connect-hoursofoperation-hoursofoperationtimeslice-hours // Hours *float64 `field:"required" json:"hours" yaml:"hours"` // The minutes. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationtimeslice.html#cfn-connect-hoursofoperation-hoursofoperationtimeslice-minutes // Minutes *float64 `field:"required" json:"minutes" yaml:"minutes"` }
The start time or end time for an hours of operation.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" hoursOfOperationTimeSliceProperty := &HoursOfOperationTimeSliceProperty{ Hours: jsii.Number(123), Minutes: jsii.Number(123), }
type CfnInstance ¶ added in v2.42.0
type CfnInstance interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggableV2 // The Amazon Resource Name (ARN) of the instance. AttrArn() *string // When the instance was created. AttrCreatedTime() *string // A toggle for an individual feature at the instance level. Attributes() interface{} SetAttributes(val interface{}) // The identifier of the Amazon Connect instance. // // You can find the instanceId in the ARN of the instance. AttrId() *string // The state of the instance. AttrInstanceStatus() *string // The service role of the instance. AttrServiceRole() *string // Tag Manager which manages the tags for this resource. CdkTagManager() awscdk.TagManager // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The identifier for the directory. DirectoryId() *string SetDirectoryId(val *string) // The identity management type. IdentityManagementType() *string SetIdentityManagementType(val *string) // The alias of instance. InstanceAlias() *string SetInstanceAlias(val *string) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The tree node. Node() constructs.Node // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // An array of key-value pairs to apply to this resource. Tags() *[]*awscdk.CfnTag SetTags(val *[]*awscdk.CfnTag) // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
*This is a preview release for Amazon Connect . It is subject to change.*.
Initiates an Amazon Connect instance with all the supported channels enabled. It does not attach any storage, such as Amazon Simple Storage Service (Amazon S3) or Amazon Kinesis.
Amazon Connect enforces a limit on the total number of instances that you can create or delete in 30 days. If you exceed this limit, you will get an error message indicating there has been an excessive number of attempts at creating or deleting instances. You must wait 30 days before you can restart creating and deleting instances in your account.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnInstance := awscdk.Aws_connect.NewCfnInstance(this, jsii.String("MyCfnInstance"), &CfnInstanceProps{ Attributes: &AttributesProperty{ InboundCalls: jsii.Boolean(false), OutboundCalls: jsii.Boolean(false), // the properties below are optional AutoResolveBestVoices: jsii.Boolean(false), ContactflowLogs: jsii.Boolean(false), ContactLens: jsii.Boolean(false), EarlyMedia: jsii.Boolean(false), UseCustomTtsVoices: jsii.Boolean(false), }, IdentityManagementType: jsii.String("identityManagementType"), // the properties below are optional DirectoryId: jsii.String("directoryId"), InstanceAlias: jsii.String("instanceAlias"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, })
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-instance.html
func NewCfnInstance ¶ added in v2.42.0
func NewCfnInstance(scope constructs.Construct, id *string, props *CfnInstanceProps) CfnInstance
type CfnInstanceProps ¶ added in v2.42.0
type CfnInstanceProps struct { // A toggle for an individual feature at the instance level. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-instance.html#cfn-connect-instance-attributes // Attributes interface{} `field:"required" json:"attributes" yaml:"attributes"` // The identity management type. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-instance.html#cfn-connect-instance-identitymanagementtype // IdentityManagementType *string `field:"required" json:"identityManagementType" yaml:"identityManagementType"` // The identifier for the directory. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-instance.html#cfn-connect-instance-directoryid // DirectoryId *string `field:"optional" json:"directoryId" yaml:"directoryId"` // The alias of instance. // // `InstanceAlias` is only required when `IdentityManagementType` is `CONNECT_MANAGED` or `SAML` . `InstanceAlias` is not required when `IdentityManagementType` is `EXISTING_DIRECTORY` . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-instance.html#cfn-connect-instance-instancealias // InstanceAlias *string `field:"optional" json:"instanceAlias" yaml:"instanceAlias"` // An array of key-value pairs to apply to this resource. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-instance.html#cfn-connect-instance-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `CfnInstance`.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnInstanceProps := &CfnInstanceProps{ Attributes: &AttributesProperty{ InboundCalls: jsii.Boolean(false), OutboundCalls: jsii.Boolean(false), // the properties below are optional AutoResolveBestVoices: jsii.Boolean(false), ContactflowLogs: jsii.Boolean(false), ContactLens: jsii.Boolean(false), EarlyMedia: jsii.Boolean(false), UseCustomTtsVoices: jsii.Boolean(false), }, IdentityManagementType: jsii.String("identityManagementType"), // the properties below are optional DirectoryId: jsii.String("directoryId"), InstanceAlias: jsii.String("instanceAlias"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-instance.html
type CfnInstanceStorageConfig ¶ added in v2.42.0
type CfnInstanceStorageConfig interface { awscdk.CfnResource awscdk.IInspectable // The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID. AttrAssociationId() *string // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The Amazon Resource Name (ARN) of the instance. InstanceArn() *string SetInstanceArn(val *string) // The configuration of the Kinesis Firehose delivery stream. KinesisFirehoseConfig() interface{} SetKinesisFirehoseConfig(val interface{}) // The configuration of the Kinesis data stream. KinesisStreamConfig() interface{} SetKinesisStreamConfig(val interface{}) // The configuration of the Kinesis video stream. KinesisVideoStreamConfig() interface{} SetKinesisVideoStreamConfig(val interface{}) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The tree node. Node() constructs.Node // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // A valid resource type. ResourceType() *string SetResourceType(val *string) // The S3 bucket configuration. S3Config() interface{} SetS3Config(val interface{}) // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // A valid storage type. StorageType() *string SetStorageType(val *string) // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
The storage configuration for the instance.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnInstanceStorageConfig := awscdk.Aws_connect.NewCfnInstanceStorageConfig(this, jsii.String("MyCfnInstanceStorageConfig"), &CfnInstanceStorageConfigProps{ InstanceArn: jsii.String("instanceArn"), ResourceType: jsii.String("resourceType"), StorageType: jsii.String("storageType"), // the properties below are optional KinesisFirehoseConfig: &KinesisFirehoseConfigProperty{ FirehoseArn: jsii.String("firehoseArn"), }, KinesisStreamConfig: &KinesisStreamConfigProperty{ StreamArn: jsii.String("streamArn"), }, KinesisVideoStreamConfig: &KinesisVideoStreamConfigProperty{ EncryptionConfig: &EncryptionConfigProperty{ EncryptionType: jsii.String("encryptionType"), KeyId: jsii.String("keyId"), }, Prefix: jsii.String("prefix"), RetentionPeriodHours: jsii.Number(123), }, S3Config: &S3ConfigProperty{ BucketName: jsii.String("bucketName"), BucketPrefix: jsii.String("bucketPrefix"), // the properties below are optional EncryptionConfig: &EncryptionConfigProperty{ EncryptionType: jsii.String("encryptionType"), KeyId: jsii.String("keyId"), }, }, })
func NewCfnInstanceStorageConfig ¶ added in v2.42.0
func NewCfnInstanceStorageConfig(scope constructs.Construct, id *string, props *CfnInstanceStorageConfigProps) CfnInstanceStorageConfig
type CfnInstanceStorageConfigProps ¶ added in v2.42.0
type CfnInstanceStorageConfigProps struct { // The Amazon Resource Name (ARN) of the instance. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-instancestorageconfig.html#cfn-connect-instancestorageconfig-instancearn // InstanceArn *string `field:"required" json:"instanceArn" yaml:"instanceArn"` // A valid resource type. // // Following are the valid resource types: `CHAT_TRANSCRIPTS` | `CALL_RECORDINGS` | `SCHEDULED_REPORTS` | `MEDIA_STREAMS` | `CONTACT_TRACE_RECORDS` | `AGENT_EVENTS`. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-instancestorageconfig.html#cfn-connect-instancestorageconfig-resourcetype // ResourceType *string `field:"required" json:"resourceType" yaml:"resourceType"` // A valid storage type. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-instancestorageconfig.html#cfn-connect-instancestorageconfig-storagetype // StorageType *string `field:"required" json:"storageType" yaml:"storageType"` // The configuration of the Kinesis Firehose delivery stream. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-instancestorageconfig.html#cfn-connect-instancestorageconfig-kinesisfirehoseconfig // KinesisFirehoseConfig interface{} `field:"optional" json:"kinesisFirehoseConfig" yaml:"kinesisFirehoseConfig"` // The configuration of the Kinesis data stream. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-instancestorageconfig.html#cfn-connect-instancestorageconfig-kinesisstreamconfig // KinesisStreamConfig interface{} `field:"optional" json:"kinesisStreamConfig" yaml:"kinesisStreamConfig"` // The configuration of the Kinesis video stream. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-instancestorageconfig.html#cfn-connect-instancestorageconfig-kinesisvideostreamconfig // KinesisVideoStreamConfig interface{} `field:"optional" json:"kinesisVideoStreamConfig" yaml:"kinesisVideoStreamConfig"` // The S3 bucket configuration. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-instancestorageconfig.html#cfn-connect-instancestorageconfig-s3config // S3Config interface{} `field:"optional" json:"s3Config" yaml:"s3Config"` }
Properties for defining a `CfnInstanceStorageConfig`.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnInstanceStorageConfigProps := &CfnInstanceStorageConfigProps{ InstanceArn: jsii.String("instanceArn"), ResourceType: jsii.String("resourceType"), StorageType: jsii.String("storageType"), // the properties below are optional KinesisFirehoseConfig: &KinesisFirehoseConfigProperty{ FirehoseArn: jsii.String("firehoseArn"), }, KinesisStreamConfig: &KinesisStreamConfigProperty{ StreamArn: jsii.String("streamArn"), }, KinesisVideoStreamConfig: &KinesisVideoStreamConfigProperty{ EncryptionConfig: &EncryptionConfigProperty{ EncryptionType: jsii.String("encryptionType"), KeyId: jsii.String("keyId"), }, Prefix: jsii.String("prefix"), RetentionPeriodHours: jsii.Number(123), }, S3Config: &S3ConfigProperty{ BucketName: jsii.String("bucketName"), BucketPrefix: jsii.String("bucketPrefix"), // the properties below are optional EncryptionConfig: &EncryptionConfigProperty{ EncryptionType: jsii.String("encryptionType"), KeyId: jsii.String("keyId"), }, }, }
type CfnInstanceStorageConfig_EncryptionConfigProperty ¶ added in v2.42.0
type CfnInstanceStorageConfig_EncryptionConfigProperty struct { // The type of encryption. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-instancestorageconfig-encryptionconfig.html#cfn-connect-instancestorageconfig-encryptionconfig-encryptiontype // EncryptionType *string `field:"required" json:"encryptionType" yaml:"encryptionType"` // The full ARN of the encryption key. // // > Be sure to provide the full ARN of the encryption key, not just the ID. // > // > Amazon Connect supports only KMS keys with the default key spec of [`SYMMETRIC_DEFAULT`](https://docs.aws.amazon.com/kms/latest/developerguide/asymmetric-key-specs.html#key-spec-symmetric-default) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-instancestorageconfig-encryptionconfig.html#cfn-connect-instancestorageconfig-encryptionconfig-keyid // KeyId *string `field:"required" json:"keyId" yaml:"keyId"` }
The encryption configuration.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" encryptionConfigProperty := &EncryptionConfigProperty{ EncryptionType: jsii.String("encryptionType"), KeyId: jsii.String("keyId"), }
type CfnInstanceStorageConfig_KinesisFirehoseConfigProperty ¶ added in v2.42.0
type CfnInstanceStorageConfig_KinesisFirehoseConfigProperty struct { // The Amazon Resource Name (ARN) of the delivery stream. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-instancestorageconfig-kinesisfirehoseconfig.html#cfn-connect-instancestorageconfig-kinesisfirehoseconfig-firehosearn // FirehoseArn *string `field:"required" json:"firehoseArn" yaml:"firehoseArn"` }
Configuration information of a Kinesis Data Firehose delivery stream.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" kinesisFirehoseConfigProperty := &KinesisFirehoseConfigProperty{ FirehoseArn: jsii.String("firehoseArn"), }
type CfnInstanceStorageConfig_KinesisStreamConfigProperty ¶ added in v2.42.0
type CfnInstanceStorageConfig_KinesisStreamConfigProperty struct { // The Amazon Resource Name (ARN) of the data stream. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-instancestorageconfig-kinesisstreamconfig.html#cfn-connect-instancestorageconfig-kinesisstreamconfig-streamarn // StreamArn *string `field:"required" json:"streamArn" yaml:"streamArn"` }
Configuration information of a Kinesis data stream.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" kinesisStreamConfigProperty := &KinesisStreamConfigProperty{ StreamArn: jsii.String("streamArn"), }
type CfnInstanceStorageConfig_KinesisVideoStreamConfigProperty ¶ added in v2.42.0
type CfnInstanceStorageConfig_KinesisVideoStreamConfigProperty struct { // The encryption configuration. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-instancestorageconfig-kinesisvideostreamconfig.html#cfn-connect-instancestorageconfig-kinesisvideostreamconfig-encryptionconfig // EncryptionConfig interface{} `field:"required" json:"encryptionConfig" yaml:"encryptionConfig"` // The prefix of the video stream. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-instancestorageconfig-kinesisvideostreamconfig.html#cfn-connect-instancestorageconfig-kinesisvideostreamconfig-prefix // Prefix *string `field:"required" json:"prefix" yaml:"prefix"` // The number of hours data is retained in the stream. // // Kinesis Video Streams retains the data in a data store that is associated with the stream. // // The default value is 0, indicating that the stream does not persist data. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-instancestorageconfig-kinesisvideostreamconfig.html#cfn-connect-instancestorageconfig-kinesisvideostreamconfig-retentionperiodhours // RetentionPeriodHours *float64 `field:"required" json:"retentionPeriodHours" yaml:"retentionPeriodHours"` }
Configuration information of a Kinesis video stream.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" kinesisVideoStreamConfigProperty := &KinesisVideoStreamConfigProperty{ EncryptionConfig: &EncryptionConfigProperty{ EncryptionType: jsii.String("encryptionType"), KeyId: jsii.String("keyId"), }, Prefix: jsii.String("prefix"), RetentionPeriodHours: jsii.Number(123), }
type CfnInstanceStorageConfig_S3ConfigProperty ¶ added in v2.42.0
type CfnInstanceStorageConfig_S3ConfigProperty struct { // The S3 bucket name. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-instancestorageconfig-s3config.html#cfn-connect-instancestorageconfig-s3config-bucketname // BucketName *string `field:"required" json:"bucketName" yaml:"bucketName"` // The S3 bucket prefix. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-instancestorageconfig-s3config.html#cfn-connect-instancestorageconfig-s3config-bucketprefix // BucketPrefix *string `field:"required" json:"bucketPrefix" yaml:"bucketPrefix"` // The Amazon S3 encryption configuration. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-instancestorageconfig-s3config.html#cfn-connect-instancestorageconfig-s3config-encryptionconfig // EncryptionConfig interface{} `field:"optional" json:"encryptionConfig" yaml:"encryptionConfig"` }
Information about the Amazon Simple Storage Service (Amazon S3) storage type.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" s3ConfigProperty := &S3ConfigProperty{ BucketName: jsii.String("bucketName"), BucketPrefix: jsii.String("bucketPrefix"), // the properties below are optional EncryptionConfig: &EncryptionConfigProperty{ EncryptionType: jsii.String("encryptionType"), KeyId: jsii.String("keyId"), }, }
type CfnInstance_AttributesProperty ¶ added in v2.42.0
type CfnInstance_AttributesProperty struct { // Mandatory element which enables inbound calls on new instance. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-instance-attributes.html#cfn-connect-instance-attributes-inboundcalls // InboundCalls interface{} `field:"required" json:"inboundCalls" yaml:"inboundCalls"` // Mandatory element which enables outbound calls on new instance. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-instance-attributes.html#cfn-connect-instance-attributes-outboundcalls // OutboundCalls interface{} `field:"required" json:"outboundCalls" yaml:"outboundCalls"` // Boolean flag which enables AUTO_RESOLVE_BEST_VOICES on an instance. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-instance-attributes.html#cfn-connect-instance-attributes-autoresolvebestvoices // AutoResolveBestVoices interface{} `field:"optional" json:"autoResolveBestVoices" yaml:"autoResolveBestVoices"` // Boolean flag which enables CONTACTFLOW_LOGS on an instance. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-instance-attributes.html#cfn-connect-instance-attributes-contactflowlogs // ContactflowLogs interface{} `field:"optional" json:"contactflowLogs" yaml:"contactflowLogs"` // Boolean flag which enables CONTACT_LENS on an instance. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-instance-attributes.html#cfn-connect-instance-attributes-contactlens // ContactLens interface{} `field:"optional" json:"contactLens" yaml:"contactLens"` // Boolean flag which enables EARLY_MEDIA on an instance. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-instance-attributes.html#cfn-connect-instance-attributes-earlymedia // EarlyMedia interface{} `field:"optional" json:"earlyMedia" yaml:"earlyMedia"` // Boolean flag which enables USE_CUSTOM_TTS_VOICES on an instance. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-instance-attributes.html#cfn-connect-instance-attributes-usecustomttsvoices // UseCustomTtsVoices interface{} `field:"optional" json:"useCustomTtsVoices" yaml:"useCustomTtsVoices"` }
*This is a preview release for Amazon Connect .
It is subject to change.*
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" attributesProperty := &AttributesProperty{ InboundCalls: jsii.Boolean(false), OutboundCalls: jsii.Boolean(false), // the properties below are optional AutoResolveBestVoices: jsii.Boolean(false), ContactflowLogs: jsii.Boolean(false), ContactLens: jsii.Boolean(false), EarlyMedia: jsii.Boolean(false), UseCustomTtsVoices: jsii.Boolean(false), }
type CfnIntegrationAssociation ¶ added in v2.63.0
type CfnIntegrationAssociation interface { awscdk.CfnResource awscdk.IInspectable // Identifier of the association with an Amazon Connect instance. AttrIntegrationAssociationId() *string // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The Amazon Resource Name (ARN) of the instance. InstanceId() *string SetInstanceId(val *string) // ARN of the integration being associated with the instance. IntegrationArn() *string SetIntegrationArn(val *string) // Specifies the integration type to be associated with the instance. IntegrationType() *string SetIntegrationType(val *string) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The tree node. Node() constructs.Node // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
Specifies the association of an AWS resource such as Lex bot (both v1 and v2) and Lambda function with an Amazon Connect instance.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnIntegrationAssociation := awscdk.Aws_connect.NewCfnIntegrationAssociation(this, jsii.String("MyCfnIntegrationAssociation"), &CfnIntegrationAssociationProps{ InstanceId: jsii.String("instanceId"), IntegrationArn: jsii.String("integrationArn"), IntegrationType: jsii.String("integrationType"), })
func NewCfnIntegrationAssociation ¶ added in v2.63.0
func NewCfnIntegrationAssociation(scope constructs.Construct, id *string, props *CfnIntegrationAssociationProps) CfnIntegrationAssociation
type CfnIntegrationAssociationProps ¶ added in v2.63.0
type CfnIntegrationAssociationProps struct { // The Amazon Resource Name (ARN) of the instance. // // *Minimum* : `1` // // *Maximum* : `100`. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-integrationassociation.html#cfn-connect-integrationassociation-instanceid // InstanceId *string `field:"required" json:"instanceId" yaml:"instanceId"` // ARN of the integration being associated with the instance. // // *Minimum* : `1` // // *Maximum* : `140`. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-integrationassociation.html#cfn-connect-integrationassociation-integrationarn // IntegrationArn *string `field:"required" json:"integrationArn" yaml:"integrationArn"` // Specifies the integration type to be associated with the instance. // // *Allowed Values* : `LEX_BOT` | `LAMBDA_FUNCTION`. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-integrationassociation.html#cfn-connect-integrationassociation-integrationtype // IntegrationType *string `field:"required" json:"integrationType" yaml:"integrationType"` }
Properties for defining a `CfnIntegrationAssociation`.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnIntegrationAssociationProps := &CfnIntegrationAssociationProps{ InstanceId: jsii.String("instanceId"), IntegrationArn: jsii.String("integrationArn"), IntegrationType: jsii.String("integrationType"), }
type CfnPhoneNumber ¶ added in v2.23.0
type CfnPhoneNumber interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggable // The phone number, in E.164 format. AttrAddress() *string // The Amazon Resource Name (ARN) of the phone number. AttrPhoneNumberArn() *string // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // The ISO country code. CountryCode() *string SetCountryCode(val *string) // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The description of the phone number. Description() *string SetDescription(val *string) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The tree node. Node() constructs.Node // The prefix of the phone number. // // If provided, it must contain `+` as part of the country code. Prefix() *string SetPrefix(val *string) // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The claimed phone number ARN that was previously imported from the external service, such as Amazon Pinpoint. SourcePhoneNumberArn() *string SetSourcePhoneNumberArn(val *string) // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // Tag Manager which manages the tags for this resource. Tags() awscdk.TagManager // The tags used to organize, track, or control access for this resource. TagsRaw() *[]*awscdk.CfnTag SetTagsRaw(val *[]*awscdk.CfnTag) // The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution group that phone numbers are claimed to. TargetArn() *string SetTargetArn(val *string) // The type of phone number. Type() *string SetType(val *string) // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
Claims a phone number to the specified Amazon Connect instance or traffic distribution group.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnPhoneNumber := awscdk.Aws_connect.NewCfnPhoneNumber(this, jsii.String("MyCfnPhoneNumber"), &CfnPhoneNumberProps{ TargetArn: jsii.String("targetArn"), // the properties below are optional CountryCode: jsii.String("countryCode"), Description: jsii.String("description"), Prefix: jsii.String("prefix"), SourcePhoneNumberArn: jsii.String("sourcePhoneNumberArn"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, Type: jsii.String("type"), })
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html
func NewCfnPhoneNumber ¶ added in v2.23.0
func NewCfnPhoneNumber(scope constructs.Construct, id *string, props *CfnPhoneNumberProps) CfnPhoneNumber
type CfnPhoneNumberProps ¶ added in v2.23.0
type CfnPhoneNumberProps struct { // The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution group that phone numbers are claimed to. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html#cfn-connect-phonenumber-targetarn // TargetArn *string `field:"required" json:"targetArn" yaml:"targetArn"` // The ISO country code. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html#cfn-connect-phonenumber-countrycode // CountryCode *string `field:"optional" json:"countryCode" yaml:"countryCode"` // The description of the phone number. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html#cfn-connect-phonenumber-description // Description *string `field:"optional" json:"description" yaml:"description"` // The prefix of the phone number. If provided, it must contain `+` as part of the country code. // // *Pattern* : `^\\+[0-9]{1,15}`. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html#cfn-connect-phonenumber-prefix // Prefix *string `field:"optional" json:"prefix" yaml:"prefix"` // The claimed phone number ARN that was previously imported from the external service, such as Amazon Pinpoint. // // If it is from Amazon Pinpoint, it looks like the ARN of the phone number that was imported from Amazon Pinpoint. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html#cfn-connect-phonenumber-sourcephonenumberarn // SourcePhoneNumberArn *string `field:"optional" json:"sourcePhoneNumberArn" yaml:"sourcePhoneNumberArn"` // The tags used to organize, track, or control access for this resource. // // For example, { "tags": {"key1":"value1", "key2":"value2"} }. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html#cfn-connect-phonenumber-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` // The type of phone number. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html#cfn-connect-phonenumber-type // Type *string `field:"optional" json:"type" yaml:"type"` }
Properties for defining a `CfnPhoneNumber`.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnPhoneNumberProps := &CfnPhoneNumberProps{ TargetArn: jsii.String("targetArn"), // the properties below are optional CountryCode: jsii.String("countryCode"), Description: jsii.String("description"), Prefix: jsii.String("prefix"), SourcePhoneNumberArn: jsii.String("sourcePhoneNumberArn"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, Type: jsii.String("type"), }
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html
type CfnPredefinedAttribute ¶ added in v2.119.0
type CfnPredefinedAttribute interface { awscdk.CfnResource awscdk.IInspectable // Last modified region. AttrLastModifiedRegion() *string // Last modified time. AttrLastModifiedTime() awscdk.IResolvable // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The Amazon Resource Name (ARN) of the instance. InstanceArn() *string SetInstanceArn(val *string) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The name of the predefined attribute. Name() *string SetName(val *string) // The tree node. Node() constructs.Node // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // The values of a predefined attribute. Values() interface{} SetValues(val interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
Textual or numeric value that describes an attribute.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnPredefinedAttribute := awscdk.Aws_connect.NewCfnPredefinedAttribute(this, jsii.String("MyCfnPredefinedAttribute"), &CfnPredefinedAttributeProps{ InstanceArn: jsii.String("instanceArn"), Name: jsii.String("name"), Values: &ValuesProperty{ StringList: []*string{ jsii.String("stringList"), }, }, })
func NewCfnPredefinedAttribute ¶ added in v2.119.0
func NewCfnPredefinedAttribute(scope constructs.Construct, id *string, props *CfnPredefinedAttributeProps) CfnPredefinedAttribute
type CfnPredefinedAttributeProps ¶ added in v2.119.0
type CfnPredefinedAttributeProps struct { // The Amazon Resource Name (ARN) of the instance. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-predefinedattribute.html#cfn-connect-predefinedattribute-instancearn // InstanceArn *string `field:"required" json:"instanceArn" yaml:"instanceArn"` // The name of the predefined attribute. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-predefinedattribute.html#cfn-connect-predefinedattribute-name // Name *string `field:"required" json:"name" yaml:"name"` // The values of a predefined attribute. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-predefinedattribute.html#cfn-connect-predefinedattribute-values // Values interface{} `field:"required" json:"values" yaml:"values"` }
Properties for defining a `CfnPredefinedAttribute`.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnPredefinedAttributeProps := &CfnPredefinedAttributeProps{ InstanceArn: jsii.String("instanceArn"), Name: jsii.String("name"), Values: &ValuesProperty{ StringList: []*string{ jsii.String("stringList"), }, }, }
type CfnPredefinedAttribute_ValuesProperty ¶ added in v2.119.0
type CfnPredefinedAttribute_ValuesProperty struct { // Predefined attribute values of type string list. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-predefinedattribute-values.html#cfn-connect-predefinedattribute-values-stringlist // StringList *[]*string `field:"optional" json:"stringList" yaml:"stringList"` }
The values of a predefined attribute.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" valuesProperty := &ValuesProperty{ StringList: []*string{ jsii.String("stringList"), }, }
type CfnPrompt ¶ added in v2.82.0
type CfnPrompt interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggableV2 // The Amazon Resource Name (ARN) of the prompt. AttrPromptArn() *string // Tag Manager which manages the tags for this resource. CdkTagManager() awscdk.TagManager // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The description of the prompt. Description() *string SetDescription(val *string) // The identifier of the Amazon Connect instance. InstanceArn() *string SetInstanceArn(val *string) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The name of the prompt. Name() *string SetName(val *string) // The tree node. Node() constructs.Node // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The URI for the S3 bucket where the prompt is stored. S3Uri() *string SetS3Uri(val *string) // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // The tags used to organize, track, or control access for this resource. Tags() *[]*awscdk.CfnTag SetTags(val *[]*awscdk.CfnTag) // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
Creates a prompt for the specified Amazon Connect instance.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnPrompt := awscdk.Aws_connect.NewCfnPrompt(this, jsii.String("MyCfnPrompt"), &CfnPromptProps{ InstanceArn: jsii.String("instanceArn"), Name: jsii.String("name"), // the properties below are optional Description: jsii.String("description"), S3Uri: jsii.String("s3Uri"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, })
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-prompt.html
func NewCfnPrompt ¶ added in v2.82.0
func NewCfnPrompt(scope constructs.Construct, id *string, props *CfnPromptProps) CfnPrompt
type CfnPromptProps ¶ added in v2.82.0
type CfnPromptProps struct { // The identifier of the Amazon Connect instance. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-prompt.html#cfn-connect-prompt-instancearn // InstanceArn *string `field:"required" json:"instanceArn" yaml:"instanceArn"` // The name of the prompt. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-prompt.html#cfn-connect-prompt-name // Name *string `field:"required" json:"name" yaml:"name"` // The description of the prompt. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-prompt.html#cfn-connect-prompt-description // Description *string `field:"optional" json:"description" yaml:"description"` // The URI for the S3 bucket where the prompt is stored. // // This property is required when you create a prompt. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-prompt.html#cfn-connect-prompt-s3uri // S3Uri *string `field:"optional" json:"s3Uri" yaml:"s3Uri"` // The tags used to organize, track, or control access for this resource. // // For example, { "tags": {"key1":"value1", "key2":"value2"} }. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-prompt.html#cfn-connect-prompt-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `CfnPrompt`.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnPromptProps := &CfnPromptProps{ InstanceArn: jsii.String("instanceArn"), Name: jsii.String("name"), // the properties below are optional Description: jsii.String("description"), S3Uri: jsii.String("s3Uri"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-prompt.html
type CfnQueue ¶ added in v2.89.0
type CfnQueue interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggableV2 // The Amazon Resource Name (ARN) of the queue. AttrQueueArn() *string // The type of queue. AttrType() *string // Tag Manager which manages the tags for this resource. CdkTagManager() awscdk.TagManager // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The description of the queue. Description() *string SetDescription(val *string) // The Amazon Resource Name (ARN) of the hours of operation. HoursOfOperationArn() *string SetHoursOfOperationArn(val *string) // The identifier of the Amazon Connect instance. InstanceArn() *string SetInstanceArn(val *string) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The maximum number of contacts that can be in the queue before it is considered full. MaxContacts() *float64 SetMaxContacts(val *float64) // The name of the queue. Name() *string SetName(val *string) // The tree node. Node() constructs.Node // The outbound caller ID name, number, and outbound whisper flow. OutboundCallerConfig() interface{} SetOutboundCallerConfig(val interface{}) // The Amazon Resource Names (ARN) of the of the quick connects available to agents who are working the queue. QuickConnectArns() *[]*string SetQuickConnectArns(val *[]*string) // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // The status of the queue. Status() *string SetStatus(val *string) // The tags used to organize, track, or control access for this resource. Tags() *[]*awscdk.CfnTag SetTags(val *[]*awscdk.CfnTag) // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
Contains information about a queue.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnQueue := awscdk.Aws_connect.NewCfnQueue(this, jsii.String("MyCfnQueue"), &CfnQueueProps{ HoursOfOperationArn: jsii.String("hoursOfOperationArn"), InstanceArn: jsii.String("instanceArn"), Name: jsii.String("name"), // the properties below are optional Description: jsii.String("description"), MaxContacts: jsii.Number(123), OutboundCallerConfig: &OutboundCallerConfigProperty{ OutboundCallerIdName: jsii.String("outboundCallerIdName"), OutboundCallerIdNumberArn: jsii.String("outboundCallerIdNumberArn"), OutboundFlowArn: jsii.String("outboundFlowArn"), }, QuickConnectArns: []*string{ jsii.String("quickConnectArns"), }, Status: jsii.String("status"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, })
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-queue.html
func NewCfnQueue ¶ added in v2.89.0
func NewCfnQueue(scope constructs.Construct, id *string, props *CfnQueueProps) CfnQueue
type CfnQueueProps ¶ added in v2.89.0
type CfnQueueProps struct { // The Amazon Resource Name (ARN) of the hours of operation. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-queue.html#cfn-connect-queue-hoursofoperationarn // HoursOfOperationArn *string `field:"required" json:"hoursOfOperationArn" yaml:"hoursOfOperationArn"` // The identifier of the Amazon Connect instance. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-queue.html#cfn-connect-queue-instancearn // InstanceArn *string `field:"required" json:"instanceArn" yaml:"instanceArn"` // The name of the queue. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-queue.html#cfn-connect-queue-name // Name *string `field:"required" json:"name" yaml:"name"` // The description of the queue. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-queue.html#cfn-connect-queue-description // Description *string `field:"optional" json:"description" yaml:"description"` // The maximum number of contacts that can be in the queue before it is considered full. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-queue.html#cfn-connect-queue-maxcontacts // MaxContacts *float64 `field:"optional" json:"maxContacts" yaml:"maxContacts"` // The outbound caller ID name, number, and outbound whisper flow. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-queue.html#cfn-connect-queue-outboundcallerconfig // OutboundCallerConfig interface{} `field:"optional" json:"outboundCallerConfig" yaml:"outboundCallerConfig"` // The Amazon Resource Names (ARN) of the of the quick connects available to agents who are working the queue. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-queue.html#cfn-connect-queue-quickconnectarns // QuickConnectArns *[]*string `field:"optional" json:"quickConnectArns" yaml:"quickConnectArns"` // The status of the queue. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-queue.html#cfn-connect-queue-status // Status *string `field:"optional" json:"status" yaml:"status"` // The tags used to organize, track, or control access for this resource. // // For example, { "Tags": {"key1":"value1", "key2":"value2"} }. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-queue.html#cfn-connect-queue-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `CfnQueue`.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnQueueProps := &CfnQueueProps{ HoursOfOperationArn: jsii.String("hoursOfOperationArn"), InstanceArn: jsii.String("instanceArn"), Name: jsii.String("name"), // the properties below are optional Description: jsii.String("description"), MaxContacts: jsii.Number(123), OutboundCallerConfig: &OutboundCallerConfigProperty{ OutboundCallerIdName: jsii.String("outboundCallerIdName"), OutboundCallerIdNumberArn: jsii.String("outboundCallerIdNumberArn"), OutboundFlowArn: jsii.String("outboundFlowArn"), }, QuickConnectArns: []*string{ jsii.String("quickConnectArns"), }, Status: jsii.String("status"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-queue.html
type CfnQueue_OutboundCallerConfigProperty ¶ added in v2.89.0
type CfnQueue_OutboundCallerConfigProperty struct { // The caller ID name. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-queue-outboundcallerconfig.html#cfn-connect-queue-outboundcallerconfig-outboundcalleridname // OutboundCallerIdName *string `field:"optional" json:"outboundCallerIdName" yaml:"outboundCallerIdName"` // The Amazon Resource Name (ARN) of the outbound caller ID number. // // > Only use the phone number ARN format that doesn't contain `instance` in the path, for example, `arn:aws:connect:us-east-1:1234567890:phone-number/uuid` . This is the same ARN format that is returned when you create a phone number using CloudFormation , or when you call the [ListPhoneNumbersV2](https://docs.aws.amazon.com/connect/latest/APIReference/API_ListPhoneNumbersV2.html) API. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-queue-outboundcallerconfig.html#cfn-connect-queue-outboundcallerconfig-outboundcalleridnumberarn // OutboundCallerIdNumberArn *string `field:"optional" json:"outboundCallerIdNumberArn" yaml:"outboundCallerIdNumberArn"` // The Amazon Resource Name (ARN) of the outbound flow. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-queue-outboundcallerconfig.html#cfn-connect-queue-outboundcallerconfig-outboundflowarn // OutboundFlowArn *string `field:"optional" json:"outboundFlowArn" yaml:"outboundFlowArn"` }
The outbound caller ID name, number, and outbound whisper flow.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" outboundCallerConfigProperty := &OutboundCallerConfigProperty{ OutboundCallerIdName: jsii.String("outboundCallerIdName"), OutboundCallerIdNumberArn: jsii.String("outboundCallerIdNumberArn"), OutboundFlowArn: jsii.String("outboundFlowArn"), }
type CfnQuickConnect ¶
type CfnQuickConnect interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggable // The Amazon Resource Name (ARN) for the quick connect. AttrQuickConnectArn() *string // The type of quick connect. // // In the Amazon Connect admin website, when you create a quick connect, you are prompted to assign one of the following types: Agent (USER), External (PHONE_NUMBER), or Queue (QUEUE). AttrQuickConnectType() *string // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The description of the quick connect. Description() *string SetDescription(val *string) // The Amazon Resource Name (ARN) of the instance. InstanceArn() *string SetInstanceArn(val *string) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The name of the quick connect. Name() *string SetName(val *string) // The tree node. Node() constructs.Node // Contains information about the quick connect. QuickConnectConfig() interface{} SetQuickConnectConfig(val interface{}) // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // Tag Manager which manages the tags for this resource. Tags() awscdk.TagManager // The tags used to organize, track, or control access for this resource. TagsRaw() *[]*awscdk.CfnTag SetTagsRaw(val *[]*awscdk.CfnTag) // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
Specifies a quick connect for an Amazon Connect instance.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnQuickConnect := awscdk.Aws_connect.NewCfnQuickConnect(this, jsii.String("MyCfnQuickConnect"), &CfnQuickConnectProps{ InstanceArn: jsii.String("instanceArn"), Name: jsii.String("name"), QuickConnectConfig: &QuickConnectConfigProperty{ QuickConnectType: jsii.String("quickConnectType"), // the properties below are optional PhoneConfig: &PhoneNumberQuickConnectConfigProperty{ PhoneNumber: jsii.String("phoneNumber"), }, QueueConfig: &QueueQuickConnectConfigProperty{ ContactFlowArn: jsii.String("contactFlowArn"), QueueArn: jsii.String("queueArn"), }, UserConfig: &UserQuickConnectConfigProperty{ ContactFlowArn: jsii.String("contactFlowArn"), UserArn: jsii.String("userArn"), }, }, // the properties below are optional Description: jsii.String("description"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, })
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-quickconnect.html
func NewCfnQuickConnect ¶
func NewCfnQuickConnect(scope constructs.Construct, id *string, props *CfnQuickConnectProps) CfnQuickConnect
type CfnQuickConnectProps ¶
type CfnQuickConnectProps struct { // The Amazon Resource Name (ARN) of the instance. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-quickconnect.html#cfn-connect-quickconnect-instancearn // InstanceArn *string `field:"required" json:"instanceArn" yaml:"instanceArn"` // The name of the quick connect. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-quickconnect.html#cfn-connect-quickconnect-name // Name *string `field:"required" json:"name" yaml:"name"` // Contains information about the quick connect. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-quickconnect.html#cfn-connect-quickconnect-quickconnectconfig // QuickConnectConfig interface{} `field:"required" json:"quickConnectConfig" yaml:"quickConnectConfig"` // The description of the quick connect. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-quickconnect.html#cfn-connect-quickconnect-description // Description *string `field:"optional" json:"description" yaml:"description"` // The tags used to organize, track, or control access for this resource. // // For example, { "Tags": {"key1":"value1", "key2":"value2"} }. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-quickconnect.html#cfn-connect-quickconnect-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `CfnQuickConnect`.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnQuickConnectProps := &CfnQuickConnectProps{ InstanceArn: jsii.String("instanceArn"), Name: jsii.String("name"), QuickConnectConfig: &QuickConnectConfigProperty{ QuickConnectType: jsii.String("quickConnectType"), // the properties below are optional PhoneConfig: &PhoneNumberQuickConnectConfigProperty{ PhoneNumber: jsii.String("phoneNumber"), }, QueueConfig: &QueueQuickConnectConfigProperty{ ContactFlowArn: jsii.String("contactFlowArn"), QueueArn: jsii.String("queueArn"), }, UserConfig: &UserQuickConnectConfigProperty{ ContactFlowArn: jsii.String("contactFlowArn"), UserArn: jsii.String("userArn"), }, }, // the properties below are optional Description: jsii.String("description"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-quickconnect.html
type CfnQuickConnect_PhoneNumberQuickConnectConfigProperty ¶
type CfnQuickConnect_PhoneNumberQuickConnectConfigProperty struct { // The phone number in E.164 format. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-quickconnect-phonenumberquickconnectconfig.html#cfn-connect-quickconnect-phonenumberquickconnectconfig-phonenumber // PhoneNumber *string `field:"required" json:"phoneNumber" yaml:"phoneNumber"` }
Contains information about a phone number for a quick connect.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" phoneNumberQuickConnectConfigProperty := &PhoneNumberQuickConnectConfigProperty{ PhoneNumber: jsii.String("phoneNumber"), }
type CfnQuickConnect_QueueQuickConnectConfigProperty ¶
type CfnQuickConnect_QueueQuickConnectConfigProperty struct { // The Amazon Resource Name (ARN) of the flow. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-quickconnect-queuequickconnectconfig.html#cfn-connect-quickconnect-queuequickconnectconfig-contactflowarn // ContactFlowArn *string `field:"required" json:"contactFlowArn" yaml:"contactFlowArn"` // The Amazon Resource Name (ARN) of the queue. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-quickconnect-queuequickconnectconfig.html#cfn-connect-quickconnect-queuequickconnectconfig-queuearn // QueueArn *string `field:"required" json:"queueArn" yaml:"queueArn"` }
Contains information about a queue for a quick connect.
The flow must be of type Transfer to Queue.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" queueQuickConnectConfigProperty := &QueueQuickConnectConfigProperty{ ContactFlowArn: jsii.String("contactFlowArn"), QueueArn: jsii.String("queueArn"), }
type CfnQuickConnect_QuickConnectConfigProperty ¶
type CfnQuickConnect_QuickConnectConfigProperty struct { // The type of quick connect. // // In the Amazon Connect console, when you create a quick connect, you are prompted to assign one of the following types: Agent (USER), External (PHONE_NUMBER), or Queue (QUEUE). // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-quickconnect-quickconnectconfig.html#cfn-connect-quickconnect-quickconnectconfig-quickconnecttype // QuickConnectType *string `field:"required" json:"quickConnectType" yaml:"quickConnectType"` // The phone configuration. // // This is required only if QuickConnectType is PHONE_NUMBER. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-quickconnect-quickconnectconfig.html#cfn-connect-quickconnect-quickconnectconfig-phoneconfig // PhoneConfig interface{} `field:"optional" json:"phoneConfig" yaml:"phoneConfig"` // The queue configuration. // // This is required only if QuickConnectType is QUEUE. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-quickconnect-quickconnectconfig.html#cfn-connect-quickconnect-quickconnectconfig-queueconfig // QueueConfig interface{} `field:"optional" json:"queueConfig" yaml:"queueConfig"` // The user configuration. // // This is required only if QuickConnectType is USER. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-quickconnect-quickconnectconfig.html#cfn-connect-quickconnect-quickconnectconfig-userconfig // UserConfig interface{} `field:"optional" json:"userConfig" yaml:"userConfig"` }
Contains configuration settings for a quick connect.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" quickConnectConfigProperty := &QuickConnectConfigProperty{ QuickConnectType: jsii.String("quickConnectType"), // the properties below are optional PhoneConfig: &PhoneNumberQuickConnectConfigProperty{ PhoneNumber: jsii.String("phoneNumber"), }, QueueConfig: &QueueQuickConnectConfigProperty{ ContactFlowArn: jsii.String("contactFlowArn"), QueueArn: jsii.String("queueArn"), }, UserConfig: &UserQuickConnectConfigProperty{ ContactFlowArn: jsii.String("contactFlowArn"), UserArn: jsii.String("userArn"), }, }
type CfnQuickConnect_UserQuickConnectConfigProperty ¶
type CfnQuickConnect_UserQuickConnectConfigProperty struct { // The Amazon Resource Name (ARN) of the flow. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-quickconnect-userquickconnectconfig.html#cfn-connect-quickconnect-userquickconnectconfig-contactflowarn // ContactFlowArn *string `field:"required" json:"contactFlowArn" yaml:"contactFlowArn"` // The Amazon Resource Name (ARN) of the user. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-quickconnect-userquickconnectconfig.html#cfn-connect-quickconnect-userquickconnectconfig-userarn // UserArn *string `field:"required" json:"userArn" yaml:"userArn"` }
Contains information about the quick connect configuration settings for a user.
The contact flow must be of type Transfer to Agent.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" userQuickConnectConfigProperty := &UserQuickConnectConfigProperty{ ContactFlowArn: jsii.String("contactFlowArn"), UserArn: jsii.String("userArn"), }
type CfnRoutingProfile ¶ added in v2.89.0
type CfnRoutingProfile interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggableV2 // Whether agents with this routing profile will have their routing order calculated based on *time since their last inbound contact* or *longest idle time* . AgentAvailabilityTimer() *string SetAgentAvailabilityTimer(val *string) // The Amazon Resource Name (ARN) of the routing profile. AttrRoutingProfileArn() *string // Tag Manager which manages the tags for this resource. CdkTagManager() awscdk.TagManager // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The Amazon Resource Name (ARN) of the default outbound queue for the routing profile. DefaultOutboundQueueArn() *string SetDefaultOutboundQueueArn(val *string) // The description of the routing profile. Description() *string SetDescription(val *string) // The identifier of the Amazon Connect instance. InstanceArn() *string SetInstanceArn(val *string) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The channels agents can handle in the Contact Control Panel (CCP) for this routing profile. MediaConcurrencies() interface{} SetMediaConcurrencies(val interface{}) // The name of the routing profile. Name() *string SetName(val *string) // The tree node. Node() constructs.Node // The inbound queues associated with the routing profile. QueueConfigs() interface{} SetQueueConfigs(val interface{}) // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // The tags used to organize, track, or control access for this resource. Tags() *[]*awscdk.CfnTag SetTags(val *[]*awscdk.CfnTag) // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
Creates a new routing profile.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnRoutingProfile := awscdk.Aws_connect.NewCfnRoutingProfile(this, jsii.String("MyCfnRoutingProfile"), &CfnRoutingProfileProps{ DefaultOutboundQueueArn: jsii.String("defaultOutboundQueueArn"), Description: jsii.String("description"), InstanceArn: jsii.String("instanceArn"), MediaConcurrencies: []interface{}{ &MediaConcurrencyProperty{ Channel: jsii.String("channel"), Concurrency: jsii.Number(123), // the properties below are optional CrossChannelBehavior: &CrossChannelBehaviorProperty{ BehaviorType: jsii.String("behaviorType"), }, }, }, Name: jsii.String("name"), // the properties below are optional AgentAvailabilityTimer: jsii.String("agentAvailabilityTimer"), QueueConfigs: []interface{}{ &RoutingProfileQueueConfigProperty{ Delay: jsii.Number(123), Priority: jsii.Number(123), QueueReference: &RoutingProfileQueueReferenceProperty{ Channel: jsii.String("channel"), QueueArn: jsii.String("queueArn"), }, }, }, Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, })
func NewCfnRoutingProfile ¶ added in v2.89.0
func NewCfnRoutingProfile(scope constructs.Construct, id *string, props *CfnRoutingProfileProps) CfnRoutingProfile
type CfnRoutingProfileProps ¶ added in v2.89.0
type CfnRoutingProfileProps struct { // The Amazon Resource Name (ARN) of the default outbound queue for the routing profile. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-routingprofile.html#cfn-connect-routingprofile-defaultoutboundqueuearn // DefaultOutboundQueueArn *string `field:"required" json:"defaultOutboundQueueArn" yaml:"defaultOutboundQueueArn"` // The description of the routing profile. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-routingprofile.html#cfn-connect-routingprofile-description // Description *string `field:"required" json:"description" yaml:"description"` // The identifier of the Amazon Connect instance. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-routingprofile.html#cfn-connect-routingprofile-instancearn // InstanceArn *string `field:"required" json:"instanceArn" yaml:"instanceArn"` // The channels agents can handle in the Contact Control Panel (CCP) for this routing profile. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-routingprofile.html#cfn-connect-routingprofile-mediaconcurrencies // MediaConcurrencies interface{} `field:"required" json:"mediaConcurrencies" yaml:"mediaConcurrencies"` // The name of the routing profile. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-routingprofile.html#cfn-connect-routingprofile-name // Name *string `field:"required" json:"name" yaml:"name"` // Whether agents with this routing profile will have their routing order calculated based on *time since their last inbound contact* or *longest idle time* . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-routingprofile.html#cfn-connect-routingprofile-agentavailabilitytimer // AgentAvailabilityTimer *string `field:"optional" json:"agentAvailabilityTimer" yaml:"agentAvailabilityTimer"` // The inbound queues associated with the routing profile. // // If no queue is added, the agent can make only outbound calls. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-routingprofile.html#cfn-connect-routingprofile-queueconfigs // QueueConfigs interface{} `field:"optional" json:"queueConfigs" yaml:"queueConfigs"` // The tags used to organize, track, or control access for this resource. // // For example, { "Tags": {"key1":"value1", "key2":"value2"} }. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-routingprofile.html#cfn-connect-routingprofile-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `CfnRoutingProfile`.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnRoutingProfileProps := &CfnRoutingProfileProps{ DefaultOutboundQueueArn: jsii.String("defaultOutboundQueueArn"), Description: jsii.String("description"), InstanceArn: jsii.String("instanceArn"), MediaConcurrencies: []interface{}{ &MediaConcurrencyProperty{ Channel: jsii.String("channel"), Concurrency: jsii.Number(123), // the properties below are optional CrossChannelBehavior: &CrossChannelBehaviorProperty{ BehaviorType: jsii.String("behaviorType"), }, }, }, Name: jsii.String("name"), // the properties below are optional AgentAvailabilityTimer: jsii.String("agentAvailabilityTimer"), QueueConfigs: []interface{}{ &RoutingProfileQueueConfigProperty{ Delay: jsii.Number(123), Priority: jsii.Number(123), QueueReference: &RoutingProfileQueueReferenceProperty{ Channel: jsii.String("channel"), QueueArn: jsii.String("queueArn"), }, }, }, Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }
type CfnRoutingProfile_CrossChannelBehaviorProperty ¶ added in v2.89.0
type CfnRoutingProfile_CrossChannelBehaviorProperty struct { // Specifies the other channels that can be routed to an agent handling their current channel. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-routingprofile-crosschannelbehavior.html#cfn-connect-routingprofile-crosschannelbehavior-behaviortype // BehaviorType *string `field:"required" json:"behaviorType" yaml:"behaviorType"` }
Defines the cross-channel routing behavior that allows an agent working on a contact in one channel to be offered a contact from a different channel.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" crossChannelBehaviorProperty := &CrossChannelBehaviorProperty{ BehaviorType: jsii.String("behaviorType"), }
type CfnRoutingProfile_MediaConcurrencyProperty ¶ added in v2.89.0
type CfnRoutingProfile_MediaConcurrencyProperty struct { // The channels that agents can handle in the Contact Control Panel (CCP). // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-routingprofile-mediaconcurrency.html#cfn-connect-routingprofile-mediaconcurrency-channel // Channel *string `field:"required" json:"channel" yaml:"channel"` // The number of contacts an agent can have on a channel simultaneously. // // Valid Range for `VOICE` : Minimum value of 1. Maximum value of 1. // // Valid Range for `CHAT` : Minimum value of 1. Maximum value of 10. // // Valid Range for `TASK` : Minimum value of 1. Maximum value of 10. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-routingprofile-mediaconcurrency.html#cfn-connect-routingprofile-mediaconcurrency-concurrency // Concurrency *float64 `field:"required" json:"concurrency" yaml:"concurrency"` // Defines the cross-channel routing behavior for each channel that is enabled for this Routing Profile. // // For example, this allows you to offer an agent a different contact from another channel when they are currently working with a contact from a Voice channel. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-routingprofile-mediaconcurrency.html#cfn-connect-routingprofile-mediaconcurrency-crosschannelbehavior // CrossChannelBehavior interface{} `field:"optional" json:"crossChannelBehavior" yaml:"crossChannelBehavior"` }
Contains information about which channels are supported, and how many contacts an agent can have on a channel simultaneously.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" mediaConcurrencyProperty := &MediaConcurrencyProperty{ Channel: jsii.String("channel"), Concurrency: jsii.Number(123), // the properties below are optional CrossChannelBehavior: &CrossChannelBehaviorProperty{ BehaviorType: jsii.String("behaviorType"), }, }
type CfnRoutingProfile_RoutingProfileQueueConfigProperty ¶ added in v2.89.0
type CfnRoutingProfile_RoutingProfileQueueConfigProperty struct { // The delay, in seconds, a contact should be in the queue before they are routed to an available agent. // // For more information, see [Queues: priority and delay](https://docs.aws.amazon.com/connect/latest/adminguide/concepts-routing-profiles-priority.html) in the *Amazon Connect Administrator Guide* . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-routingprofile-routingprofilequeueconfig.html#cfn-connect-routingprofile-routingprofilequeueconfig-delay // Delay *float64 `field:"required" json:"delay" yaml:"delay"` // The order in which contacts are to be handled for the queue. // // For more information, see [Queues: priority and delay](https://docs.aws.amazon.com/connect/latest/adminguide/concepts-routing-profiles-priority.html) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-routingprofile-routingprofilequeueconfig.html#cfn-connect-routingprofile-routingprofilequeueconfig-priority // Priority *float64 `field:"required" json:"priority" yaml:"priority"` // Contains information about a queue resource. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-routingprofile-routingprofilequeueconfig.html#cfn-connect-routingprofile-routingprofilequeueconfig-queuereference // QueueReference interface{} `field:"required" json:"queueReference" yaml:"queueReference"` }
Contains information about the queue and channel for which priority and delay can be set.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" routingProfileQueueConfigProperty := &RoutingProfileQueueConfigProperty{ Delay: jsii.Number(123), Priority: jsii.Number(123), QueueReference: &RoutingProfileQueueReferenceProperty{ Channel: jsii.String("channel"), QueueArn: jsii.String("queueArn"), }, }
type CfnRoutingProfile_RoutingProfileQueueReferenceProperty ¶ added in v2.89.0
type CfnRoutingProfile_RoutingProfileQueueReferenceProperty struct { // The channels agents can handle in the Contact Control Panel (CCP) for this routing profile. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-routingprofile-routingprofilequeuereference.html#cfn-connect-routingprofile-routingprofilequeuereference-channel // Channel *string `field:"required" json:"channel" yaml:"channel"` // The Amazon Resource Name (ARN) of the queue. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-routingprofile-routingprofilequeuereference.html#cfn-connect-routingprofile-routingprofilequeuereference-queuearn // QueueArn *string `field:"required" json:"queueArn" yaml:"queueArn"` }
Contains the channel and queue identifier for a routing profile.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" routingProfileQueueReferenceProperty := &RoutingProfileQueueReferenceProperty{ Channel: jsii.String("channel"), QueueArn: jsii.String("queueArn"), }
type CfnRule ¶ added in v2.55.0
type CfnRule interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggable // A list of actions to be run when the rule is triggered. Actions() interface{} SetActions(val interface{}) // The Amazon Resource Name (ARN) of the rule. AttrRuleArn() *string // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The conditions of the rule. Function() *string SetFunction(val *string) // The Amazon Resource Name (ARN) of the instance. InstanceArn() *string SetInstanceArn(val *string) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The name of the rule. Name() *string SetName(val *string) // The tree node. Node() constructs.Node // The publish status of the rule. PublishStatus() *string SetPublishStatus(val *string) // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // Tag Manager which manages the tags for this resource. Tags() awscdk.TagManager // The tags used to organize, track, or control access for this resource. TagsRaw() *[]*awscdk.CfnTag SetTagsRaw(val *[]*awscdk.CfnTag) // The event source to trigger the rule. TriggerEventSource() interface{} SetTriggerEventSource(val interface{}) // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
Creates a rule for the specified Amazon Connect instance.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" var assignContactCategoryActions interface{} var emptyValue interface{} var endAssociatedTasksActions interface{} cfnRule := awscdk.Aws_connect.NewCfnRule(this, jsii.String("MyCfnRule"), &CfnRuleProps{ Actions: &ActionsProperty{ AssignContactCategoryActions: []interface{}{ assignContactCategoryActions, }, CreateCaseActions: []interface{}{ &CreateCaseActionProperty{ Fields: []interface{}{ &FieldProperty{ Id: jsii.String("id"), Value: &FieldValueProperty{ BooleanValue: jsii.Boolean(false), DoubleValue: jsii.Number(123), EmptyValue: emptyValue, StringValue: jsii.String("stringValue"), }, }, }, TemplateId: jsii.String("templateId"), }, }, EndAssociatedTasksActions: []interface{}{ endAssociatedTasksActions, }, EventBridgeActions: []interface{}{ &EventBridgeActionProperty{ Name: jsii.String("name"), }, }, SendNotificationActions: []interface{}{ &SendNotificationActionProperty{ Content: jsii.String("content"), ContentType: jsii.String("contentType"), DeliveryMethod: jsii.String("deliveryMethod"), Recipient: &NotificationRecipientTypeProperty{ UserArns: []*string{ jsii.String("userArns"), }, UserTags: map[string]*string{ "userTagsKey": jsii.String("userTags"), }, }, // the properties below are optional Subject: jsii.String("subject"), }, }, SubmitAutoEvaluationActions: []interface{}{ &SubmitAutoEvaluationActionProperty{ EvaluationFormArn: jsii.String("evaluationFormArn"), }, }, TaskActions: []interface{}{ &TaskActionProperty{ ContactFlowArn: jsii.String("contactFlowArn"), Name: jsii.String("name"), // the properties below are optional Description: jsii.String("description"), References: map[string]interface{}{ "referencesKey": &ReferenceProperty{ "type": jsii.String("type"), "value": jsii.String("value"), }, }, }, }, UpdateCaseActions: []interface{}{ &UpdateCaseActionProperty{ Fields: []interface{}{ &FieldProperty{ Id: jsii.String("id"), Value: &FieldValueProperty{ BooleanValue: jsii.Boolean(false), DoubleValue: jsii.Number(123), EmptyValue: emptyValue, StringValue: jsii.String("stringValue"), }, }, }, }, }, }, Function: jsii.String("function"), InstanceArn: jsii.String("instanceArn"), Name: jsii.String("name"), PublishStatus: jsii.String("publishStatus"), TriggerEventSource: &RuleTriggerEventSourceProperty{ EventSourceName: jsii.String("eventSourceName"), // the properties below are optional IntegrationAssociationArn: jsii.String("integrationAssociationArn"), }, // the properties below are optional Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, })
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-rule.html
func NewCfnRule ¶ added in v2.55.0
func NewCfnRule(scope constructs.Construct, id *string, props *CfnRuleProps) CfnRule
type CfnRuleProps ¶ added in v2.55.0
type CfnRuleProps struct { // A list of actions to be run when the rule is triggered. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-rule.html#cfn-connect-rule-actions // Actions interface{} `field:"required" json:"actions" yaml:"actions"` // The conditions of the rule. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-rule.html#cfn-connect-rule-function // Function *string `field:"required" json:"function" yaml:"function"` // The Amazon Resource Name (ARN) of the instance. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-rule.html#cfn-connect-rule-instancearn // InstanceArn *string `field:"required" json:"instanceArn" yaml:"instanceArn"` // The name of the rule. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-rule.html#cfn-connect-rule-name // Name *string `field:"required" json:"name" yaml:"name"` // The publish status of the rule. // // *Allowed values* : `DRAFT` | `PUBLISHED`. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-rule.html#cfn-connect-rule-publishstatus // PublishStatus *string `field:"required" json:"publishStatus" yaml:"publishStatus"` // The event source to trigger the rule. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-rule.html#cfn-connect-rule-triggereventsource // TriggerEventSource interface{} `field:"required" json:"triggerEventSource" yaml:"triggerEventSource"` // The tags used to organize, track, or control access for this resource. // // For example, { "tags": {"key1":"value1", "key2":"value2"} }. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-rule.html#cfn-connect-rule-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `CfnRule`.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" var assignContactCategoryActions interface{} var emptyValue interface{} var endAssociatedTasksActions interface{} cfnRuleProps := &CfnRuleProps{ Actions: &ActionsProperty{ AssignContactCategoryActions: []interface{}{ assignContactCategoryActions, }, CreateCaseActions: []interface{}{ &CreateCaseActionProperty{ Fields: []interface{}{ &FieldProperty{ Id: jsii.String("id"), Value: &FieldValueProperty{ BooleanValue: jsii.Boolean(false), DoubleValue: jsii.Number(123), EmptyValue: emptyValue, StringValue: jsii.String("stringValue"), }, }, }, TemplateId: jsii.String("templateId"), }, }, EndAssociatedTasksActions: []interface{}{ endAssociatedTasksActions, }, EventBridgeActions: []interface{}{ &EventBridgeActionProperty{ Name: jsii.String("name"), }, }, SendNotificationActions: []interface{}{ &SendNotificationActionProperty{ Content: jsii.String("content"), ContentType: jsii.String("contentType"), DeliveryMethod: jsii.String("deliveryMethod"), Recipient: &NotificationRecipientTypeProperty{ UserArns: []*string{ jsii.String("userArns"), }, UserTags: map[string]*string{ "userTagsKey": jsii.String("userTags"), }, }, // the properties below are optional Subject: jsii.String("subject"), }, }, SubmitAutoEvaluationActions: []interface{}{ &SubmitAutoEvaluationActionProperty{ EvaluationFormArn: jsii.String("evaluationFormArn"), }, }, TaskActions: []interface{}{ &TaskActionProperty{ ContactFlowArn: jsii.String("contactFlowArn"), Name: jsii.String("name"), // the properties below are optional Description: jsii.String("description"), References: map[string]interface{}{ "referencesKey": &ReferenceProperty{ "type": jsii.String("type"), "value": jsii.String("value"), }, }, }, }, UpdateCaseActions: []interface{}{ &UpdateCaseActionProperty{ Fields: []interface{}{ &FieldProperty{ Id: jsii.String("id"), Value: &FieldValueProperty{ BooleanValue: jsii.Boolean(false), DoubleValue: jsii.Number(123), EmptyValue: emptyValue, StringValue: jsii.String("stringValue"), }, }, }, }, }, }, Function: jsii.String("function"), InstanceArn: jsii.String("instanceArn"), Name: jsii.String("name"), PublishStatus: jsii.String("publishStatus"), TriggerEventSource: &RuleTriggerEventSourceProperty{ EventSourceName: jsii.String("eventSourceName"), // the properties below are optional IntegrationAssociationArn: jsii.String("integrationAssociationArn"), }, // the properties below are optional Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-rule.html
type CfnRule_ActionsProperty ¶ added in v2.55.0
type CfnRule_ActionsProperty struct { // Information about the contact category action. // // The syntax can be empty, for example, `{}` . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-actions.html#cfn-connect-rule-actions-assigncontactcategoryactions // AssignContactCategoryActions interface{} `field:"optional" json:"assignContactCategoryActions" yaml:"assignContactCategoryActions"` // This action will create a case when a rule is triggered. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-actions.html#cfn-connect-rule-actions-createcaseactions // CreateCaseActions interface{} `field:"optional" json:"createCaseActions" yaml:"createCaseActions"` // This action will end associated tasks when a rule is triggered. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-actions.html#cfn-connect-rule-actions-endassociatedtasksactions // EndAssociatedTasksActions interface{} `field:"optional" json:"endAssociatedTasksActions" yaml:"endAssociatedTasksActions"` // Information about the EventBridge action. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-actions.html#cfn-connect-rule-actions-eventbridgeactions // EventBridgeActions interface{} `field:"optional" json:"eventBridgeActions" yaml:"eventBridgeActions"` // Information about the send notification action. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-actions.html#cfn-connect-rule-actions-sendnotificationactions // SendNotificationActions interface{} `field:"optional" json:"sendNotificationActions" yaml:"sendNotificationActions"` // This action will submit an auto contact evaluation when a rule is triggered. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-actions.html#cfn-connect-rule-actions-submitautoevaluationactions // SubmitAutoEvaluationActions interface{} `field:"optional" json:"submitAutoEvaluationActions" yaml:"submitAutoEvaluationActions"` // Information about the task action. // // This field is required if `TriggerEventSource` is one of the following values: `OnZendeskTicketCreate` | `OnZendeskTicketStatusUpdate` | `OnSalesforceCaseCreate`. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-actions.html#cfn-connect-rule-actions-taskactions // TaskActions interface{} `field:"optional" json:"taskActions" yaml:"taskActions"` // This action will update a case when a rule is triggered. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-actions.html#cfn-connect-rule-actions-updatecaseactions // UpdateCaseActions interface{} `field:"optional" json:"updateCaseActions" yaml:"updateCaseActions"` }
A list of actions to be run when the rule is triggered.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" var assignContactCategoryActions interface{} var emptyValue interface{} var endAssociatedTasksActions interface{} actionsProperty := &ActionsProperty{ AssignContactCategoryActions: []interface{}{ assignContactCategoryActions, }, CreateCaseActions: []interface{}{ &CreateCaseActionProperty{ Fields: []interface{}{ &FieldProperty{ Id: jsii.String("id"), Value: &FieldValueProperty{ BooleanValue: jsii.Boolean(false), DoubleValue: jsii.Number(123), EmptyValue: emptyValue, StringValue: jsii.String("stringValue"), }, }, }, TemplateId: jsii.String("templateId"), }, }, EndAssociatedTasksActions: []interface{}{ endAssociatedTasksActions, }, EventBridgeActions: []interface{}{ &EventBridgeActionProperty{ Name: jsii.String("name"), }, }, SendNotificationActions: []interface{}{ &SendNotificationActionProperty{ Content: jsii.String("content"), ContentType: jsii.String("contentType"), DeliveryMethod: jsii.String("deliveryMethod"), Recipient: &NotificationRecipientTypeProperty{ UserArns: []*string{ jsii.String("userArns"), }, UserTags: map[string]*string{ "userTagsKey": jsii.String("userTags"), }, }, // the properties below are optional Subject: jsii.String("subject"), }, }, SubmitAutoEvaluationActions: []interface{}{ &SubmitAutoEvaluationActionProperty{ EvaluationFormArn: jsii.String("evaluationFormArn"), }, }, TaskActions: []interface{}{ &TaskActionProperty{ ContactFlowArn: jsii.String("contactFlowArn"), Name: jsii.String("name"), // the properties below are optional Description: jsii.String("description"), References: map[string]interface{}{ "referencesKey": &ReferenceProperty{ "type": jsii.String("type"), "value": jsii.String("value"), }, }, }, }, UpdateCaseActions: []interface{}{ &UpdateCaseActionProperty{ Fields: []interface{}{ &FieldProperty{ Id: jsii.String("id"), Value: &FieldValueProperty{ BooleanValue: jsii.Boolean(false), DoubleValue: jsii.Number(123), EmptyValue: emptyValue, StringValue: jsii.String("stringValue"), }, }, }, }, }, }
type CfnRule_CreateCaseActionProperty ¶ added in v2.116.0
type CfnRule_CreateCaseActionProperty struct { // An array of case fields. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-createcaseaction.html#cfn-connect-rule-createcaseaction-fields // Fields interface{} `field:"required" json:"fields" yaml:"fields"` // The Id of template. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-createcaseaction.html#cfn-connect-rule-createcaseaction-templateid // TemplateId *string `field:"required" json:"templateId" yaml:"templateId"` }
The definition for create case action.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" var emptyValue interface{} createCaseActionProperty := &CreateCaseActionProperty{ Fields: []interface{}{ &FieldProperty{ Id: jsii.String("id"), Value: &FieldValueProperty{ BooleanValue: jsii.Boolean(false), DoubleValue: jsii.Number(123), EmptyValue: emptyValue, StringValue: jsii.String("stringValue"), }, }, }, TemplateId: jsii.String("templateId"), }
type CfnRule_EventBridgeActionProperty ¶ added in v2.55.0
type CfnRule_EventBridgeActionProperty struct { // The name. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-eventbridgeaction.html#cfn-connect-rule-eventbridgeaction-name // Name *string `field:"required" json:"name" yaml:"name"` }
The EventBridge action definition.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" eventBridgeActionProperty := &EventBridgeActionProperty{ Name: jsii.String("name"), }
type CfnRule_FieldProperty ¶ added in v2.116.0
type CfnRule_FieldProperty struct { // The Id of the field. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-field.html#cfn-connect-rule-field-id // Id *string `field:"required" json:"id" yaml:"id"` // The value of the field. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-field.html#cfn-connect-rule-field-value // Value interface{} `field:"required" json:"value" yaml:"value"` }
The field of the case.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" var emptyValue interface{} fieldProperty := &FieldProperty{ Id: jsii.String("id"), Value: &FieldValueProperty{ BooleanValue: jsii.Boolean(false), DoubleValue: jsii.Number(123), EmptyValue: emptyValue, StringValue: jsii.String("stringValue"), }, }
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-field.html
type CfnRule_FieldValueProperty ¶ added in v2.116.0
type CfnRule_FieldValueProperty struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-fieldvalue.html#cfn-connect-rule-fieldvalue-booleanvalue // BooleanValue interface{} `field:"optional" json:"booleanValue" yaml:"booleanValue"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-fieldvalue.html#cfn-connect-rule-fieldvalue-doublevalue // DoubleValue *float64 `field:"optional" json:"doubleValue" yaml:"doubleValue"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-fieldvalue.html#cfn-connect-rule-fieldvalue-emptyvalue // EmptyValue interface{} `field:"optional" json:"emptyValue" yaml:"emptyValue"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-fieldvalue.html#cfn-connect-rule-fieldvalue-stringvalue // StringValue *string `field:"optional" json:"stringValue" yaml:"stringValue"` }
Object for case field values.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" var emptyValue interface{} fieldValueProperty := &FieldValueProperty{ BooleanValue: jsii.Boolean(false), DoubleValue: jsii.Number(123), EmptyValue: emptyValue, StringValue: jsii.String("stringValue"), }
type CfnRule_NotificationRecipientTypeProperty ¶ added in v2.55.0
type CfnRule_NotificationRecipientTypeProperty struct { // The Amazon Resource Name (ARN) of the user account. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-notificationrecipienttype.html#cfn-connect-rule-notificationrecipienttype-userarns // UserArns *[]*string `field:"optional" json:"userArns" yaml:"userArns"` // The tags used to organize, track, or control access for this resource. // // For example, { "tags": {"key1":"value1", "key2":"value2"} }. Amazon Connect users with the specified tags will be notified. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-notificationrecipienttype.html#cfn-connect-rule-notificationrecipienttype-usertags // UserTags interface{} `field:"optional" json:"userTags" yaml:"userTags"` }
The type of notification recipient.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" notificationRecipientTypeProperty := &NotificationRecipientTypeProperty{ UserArns: []*string{ jsii.String("userArns"), }, UserTags: map[string]*string{ "userTagsKey": jsii.String("userTags"), }, }
type CfnRule_ReferenceProperty ¶ added in v2.55.0
type CfnRule_ReferenceProperty struct { // The type of the reference. `DATE` must be of type Epoch timestamp. // // *Allowed values* : `URL` | `ATTACHMENT` | `NUMBER` | `STRING` | `DATE` | `EMAIL`. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-reference.html#cfn-connect-rule-reference-type // Type *string `field:"required" json:"type" yaml:"type"` // A valid value for the reference. // // For example, for a URL reference, a formatted URL that is displayed to an agent in the Contact Control Panel (CCP). // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-reference.html#cfn-connect-rule-reference-value // Value *string `field:"required" json:"value" yaml:"value"` }
Information about the reference when the `referenceType` is `URL` .
Otherwise, null. (Supports variable injection in the `Value` field.)
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" referenceProperty := &ReferenceProperty{ Type: jsii.String("type"), Value: jsii.String("value"), }
type CfnRule_RuleTriggerEventSourceProperty ¶ added in v2.55.0
type CfnRule_RuleTriggerEventSourceProperty struct { // The name of the event source. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-ruletriggereventsource.html#cfn-connect-rule-ruletriggereventsource-eventsourcename // EventSourceName *string `field:"required" json:"eventSourceName" yaml:"eventSourceName"` // The Amazon Resource Name (ARN) of the integration association. // // `IntegrationAssociationArn` is required if `TriggerEventSource` is one of the following values: `OnZendeskTicketCreate` | `OnZendeskTicketStatusUpdate` | `OnSalesforceCaseCreate`. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-ruletriggereventsource.html#cfn-connect-rule-ruletriggereventsource-integrationassociationarn // IntegrationAssociationArn *string `field:"optional" json:"integrationAssociationArn" yaml:"integrationAssociationArn"` }
The name of the event source.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" ruleTriggerEventSourceProperty := &RuleTriggerEventSourceProperty{ EventSourceName: jsii.String("eventSourceName"), // the properties below are optional IntegrationAssociationArn: jsii.String("integrationAssociationArn"), }
type CfnRule_SendNotificationActionProperty ¶ added in v2.55.0
type CfnRule_SendNotificationActionProperty struct { // Notification content. // // Supports variable injection. For more information, see [JSONPath reference](https://docs.aws.amazon.com/connect/latest/adminguide/contact-lens-variable-injection.html) in the *Amazon Connect Administrators Guide* . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-sendnotificationaction.html#cfn-connect-rule-sendnotificationaction-content // Content *string `field:"required" json:"content" yaml:"content"` // Content type format. // // *Allowed value* : `PLAIN_TEXT`. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-sendnotificationaction.html#cfn-connect-rule-sendnotificationaction-contenttype // ContentType *string `field:"required" json:"contentType" yaml:"contentType"` // Notification delivery method. // // *Allowed value* : `EMAIL`. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-sendnotificationaction.html#cfn-connect-rule-sendnotificationaction-deliverymethod // DeliveryMethod *string `field:"required" json:"deliveryMethod" yaml:"deliveryMethod"` // Notification recipient. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-sendnotificationaction.html#cfn-connect-rule-sendnotificationaction-recipient // Recipient interface{} `field:"required" json:"recipient" yaml:"recipient"` // The subject of the email if the delivery method is `EMAIL` . // // Supports variable injection. For more information, see [JSONPath reference](https://docs.aws.amazon.com/connect/latest/adminguide/contact-lens-variable-injection.html) in the *Amazon Connect Administrators Guide* . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-sendnotificationaction.html#cfn-connect-rule-sendnotificationaction-subject // Subject *string `field:"optional" json:"subject" yaml:"subject"` }
Information about the send notification action.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" sendNotificationActionProperty := &SendNotificationActionProperty{ Content: jsii.String("content"), ContentType: jsii.String("contentType"), DeliveryMethod: jsii.String("deliveryMethod"), Recipient: &NotificationRecipientTypeProperty{ UserArns: []*string{ jsii.String("userArns"), }, UserTags: map[string]*string{ "userTagsKey": jsii.String("userTags"), }, }, // the properties below are optional Subject: jsii.String("subject"), }
type CfnRule_SubmitAutoEvaluationActionProperty ¶ added in v2.146.0
type CfnRule_SubmitAutoEvaluationActionProperty struct { // The Amazon Resource Name (ARN) of the evaluation form. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-submitautoevaluationaction.html#cfn-connect-rule-submitautoevaluationaction-evaluationformarn // EvaluationFormArn *string `field:"required" json:"evaluationFormArn" yaml:"evaluationFormArn"` }
The definition of submit auto evaluation action.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" submitAutoEvaluationActionProperty := &SubmitAutoEvaluationActionProperty{ EvaluationFormArn: jsii.String("evaluationFormArn"), }
type CfnRule_TaskActionProperty ¶ added in v2.55.0
type CfnRule_TaskActionProperty struct { // The Amazon Resource Name (ARN) of the flow. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-taskaction.html#cfn-connect-rule-taskaction-contactflowarn // ContactFlowArn *string `field:"required" json:"contactFlowArn" yaml:"contactFlowArn"` // The name. // // Supports variable injection. For more information, see [JSONPath reference](https://docs.aws.amazon.com/connect/latest/adminguide/contact-lens-variable-injection.html) in the *Amazon Connect Administrators Guide* . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-taskaction.html#cfn-connect-rule-taskaction-name // Name *string `field:"required" json:"name" yaml:"name"` // The description. // // Supports variable injection. For more information, see [JSONPath reference](https://docs.aws.amazon.com/connect/latest/adminguide/contact-lens-variable-injection.html) in the *Amazon Connect Administrators Guide* . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-taskaction.html#cfn-connect-rule-taskaction-description // Description *string `field:"optional" json:"description" yaml:"description"` // Information about the reference when the `referenceType` is `URL` . // // Otherwise, null. `URL` is the only accepted type. (Supports variable injection in the `Value` field.) // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-taskaction.html#cfn-connect-rule-taskaction-references // References interface{} `field:"optional" json:"references" yaml:"references"` }
Information about the task action.
This field is required if `TriggerEventSource` is one of the following values: `OnZendeskTicketCreate` | `OnZendeskTicketStatusUpdate` | `OnSalesforceCaseCreate`.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" taskActionProperty := &TaskActionProperty{ ContactFlowArn: jsii.String("contactFlowArn"), Name: jsii.String("name"), // the properties below are optional Description: jsii.String("description"), References: map[string]interface{}{ "referencesKey": &ReferenceProperty{ "type": jsii.String("type"), "value": jsii.String("value"), }, }, }
type CfnRule_UpdateCaseActionProperty ¶ added in v2.116.0
type CfnRule_UpdateCaseActionProperty struct { // An array of case fields. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-updatecaseaction.html#cfn-connect-rule-updatecaseaction-fields // Fields interface{} `field:"required" json:"fields" yaml:"fields"` }
The definition for update case action.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" var emptyValue interface{} updateCaseActionProperty := &UpdateCaseActionProperty{ Fields: []interface{}{ &FieldProperty{ Id: jsii.String("id"), Value: &FieldValueProperty{ BooleanValue: jsii.Boolean(false), DoubleValue: jsii.Number(123), EmptyValue: emptyValue, StringValue: jsii.String("stringValue"), }, }, }, }
type CfnSecurityKey ¶ added in v2.63.0
type CfnSecurityKey interface { awscdk.CfnResource awscdk.IInspectable // An `AssociationId` is automatically generated when a storage config is associated with an instance. AttrAssociationId() *string // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The Amazon Resource Name (ARN) of the instance. InstanceId() *string SetInstanceId(val *string) // A valid security key in PEM format. // // For example:. Key() *string SetKey(val *string) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The tree node. Node() constructs.Node // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
The security key for the instance.
> Only two security keys are allowed per Amazon Connect instance.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnSecurityKey := awscdk.Aws_connect.NewCfnSecurityKey(this, jsii.String("MyCfnSecurityKey"), &CfnSecurityKeyProps{ InstanceId: jsii.String("instanceId"), Key: jsii.String("key"), })
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-securitykey.html
func NewCfnSecurityKey ¶ added in v2.63.0
func NewCfnSecurityKey(scope constructs.Construct, id *string, props *CfnSecurityKeyProps) CfnSecurityKey
type CfnSecurityKeyProps ¶ added in v2.63.0
type CfnSecurityKeyProps struct { // The Amazon Resource Name (ARN) of the instance. // // *Minimum* : `1` // // *Maximum* : `100`. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-securitykey.html#cfn-connect-securitykey-instanceid // InstanceId *string `field:"required" json:"instanceId" yaml:"instanceId"` // A valid security key in PEM format. For example:. // // `"-----BEGIN PUBLIC KEY-----\ [a lot of characters] ----END PUBLIC KEY-----"` // // *Minimum* : `1` // // *Maximum* : `1024`. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-securitykey.html#cfn-connect-securitykey-key // Key *string `field:"required" json:"key" yaml:"key"` }
Properties for defining a `CfnSecurityKey`.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnSecurityKeyProps := &CfnSecurityKeyProps{ InstanceId: jsii.String("instanceId"), Key: jsii.String("key"), }
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-securitykey.html
type CfnSecurityProfile ¶ added in v2.98.0
type CfnSecurityProfile interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggableV2 // The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect. AllowedAccessControlHierarchyGroupId() *string SetAllowedAccessControlHierarchyGroupId(val *string) // The list of tags that a security profile uses to restrict access to resources in Amazon Connect. AllowedAccessControlTags() interface{} SetAllowedAccessControlTags(val interface{}) // A list of third-party applications that the security profile will give access to. Applications() interface{} SetApplications(val interface{}) // The AWS Region where this resource was last modified. AttrLastModifiedRegion() *string // The timestamp when this resource was last modified. AttrLastModifiedTime() awscdk.IResolvable // The Amazon Resource Name (ARN) of the security profile. AttrSecurityProfileArn() *string // Tag Manager which manages the tags for this resource. CdkTagManager() awscdk.TagManager // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The description of the security profile. Description() *string SetDescription(val *string) // The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect. HierarchyRestrictedResources() *[]*string SetHierarchyRestrictedResources(val *[]*string) // The identifier of the Amazon Connect instance. InstanceArn() *string SetInstanceArn(val *string) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The tree node. Node() constructs.Node // Permissions assigned to the security profile. Permissions() *[]*string SetPermissions(val *[]*string) // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The name for the security profile. SecurityProfileName() *string SetSecurityProfileName(val *string) // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // The list of resources that a security profile applies tag restrictions to in Amazon Connect. TagRestrictedResources() *[]*string SetTagRestrictedResources(val *[]*string) // The tags used to organize, track, or control access for this resource. Tags() *[]*awscdk.CfnTag SetTags(val *[]*awscdk.CfnTag) // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
Creates a security profile.
For information about security profiles, see [Security Profiles](https://docs.aws.amazon.com/connect/latest/adminguide/connect-security-profiles.html) in the *Amazon Connect Administrator Guide* . For a mapping of the API name and user interface name of the security profile permissions, see [List of security profile permissions](https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-list.html) .
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnSecurityProfile := awscdk.Aws_connect.NewCfnSecurityProfile(this, jsii.String("MyCfnSecurityProfile"), &CfnSecurityProfileProps{ InstanceArn: jsii.String("instanceArn"), SecurityProfileName: jsii.String("securityProfileName"), // the properties below are optional AllowedAccessControlHierarchyGroupId: jsii.String("allowedAccessControlHierarchyGroupId"), AllowedAccessControlTags: []interface{}{ &CfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, Applications: []interface{}{ &ApplicationProperty{ ApplicationPermissions: []*string{ jsii.String("applicationPermissions"), }, Namespace: jsii.String("namespace"), }, }, Description: jsii.String("description"), HierarchyRestrictedResources: []*string{ jsii.String("hierarchyRestrictedResources"), }, Permissions: []*string{ jsii.String("permissions"), }, TagRestrictedResources: []*string{ jsii.String("tagRestrictedResources"), }, Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, })
func NewCfnSecurityProfile ¶ added in v2.98.0
func NewCfnSecurityProfile(scope constructs.Construct, id *string, props *CfnSecurityProfileProps) CfnSecurityProfile
type CfnSecurityProfileProps ¶ added in v2.98.0
type CfnSecurityProfileProps struct { // The identifier of the Amazon Connect instance. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-securityprofile.html#cfn-connect-securityprofile-instancearn // InstanceArn *string `field:"required" json:"instanceArn" yaml:"instanceArn"` // The name for the security profile. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-securityprofile.html#cfn-connect-securityprofile-securityprofilename // SecurityProfileName *string `field:"required" json:"securityProfileName" yaml:"securityProfileName"` // The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-securityprofile.html#cfn-connect-securityprofile-allowedaccesscontrolhierarchygroupid // AllowedAccessControlHierarchyGroupId *string `field:"optional" json:"allowedAccessControlHierarchyGroupId" yaml:"allowedAccessControlHierarchyGroupId"` // The list of tags that a security profile uses to restrict access to resources in Amazon Connect. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-securityprofile.html#cfn-connect-securityprofile-allowedaccesscontroltags // AllowedAccessControlTags interface{} `field:"optional" json:"allowedAccessControlTags" yaml:"allowedAccessControlTags"` // A list of third-party applications that the security profile will give access to. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-securityprofile.html#cfn-connect-securityprofile-applications // Applications interface{} `field:"optional" json:"applications" yaml:"applications"` // The description of the security profile. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-securityprofile.html#cfn-connect-securityprofile-description // Description *string `field:"optional" json:"description" yaml:"description"` // The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect. // // Following are acceptable ResourceNames: `User` . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-securityprofile.html#cfn-connect-securityprofile-hierarchyrestrictedresources // HierarchyRestrictedResources *[]*string `field:"optional" json:"hierarchyRestrictedResources" yaml:"hierarchyRestrictedResources"` // Permissions assigned to the security profile. // // For a list of valid permissions, see [List of security profile permissions](https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-list.html) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-securityprofile.html#cfn-connect-securityprofile-permissions // Permissions *[]*string `field:"optional" json:"permissions" yaml:"permissions"` // The list of resources that a security profile applies tag restrictions to in Amazon Connect. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-securityprofile.html#cfn-connect-securityprofile-tagrestrictedresources // TagRestrictedResources *[]*string `field:"optional" json:"tagRestrictedResources" yaml:"tagRestrictedResources"` // The tags used to organize, track, or control access for this resource. // // For example, { "Tags": {"key1":"value1", "key2":"value2"} }. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-securityprofile.html#cfn-connect-securityprofile-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `CfnSecurityProfile`.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnSecurityProfileProps := &CfnSecurityProfileProps{ InstanceArn: jsii.String("instanceArn"), SecurityProfileName: jsii.String("securityProfileName"), // the properties below are optional AllowedAccessControlHierarchyGroupId: jsii.String("allowedAccessControlHierarchyGroupId"), AllowedAccessControlTags: []interface{}{ &CfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, Applications: []interface{}{ &ApplicationProperty{ ApplicationPermissions: []*string{ jsii.String("applicationPermissions"), }, Namespace: jsii.String("namespace"), }, }, Description: jsii.String("description"), HierarchyRestrictedResources: []*string{ jsii.String("hierarchyRestrictedResources"), }, Permissions: []*string{ jsii.String("permissions"), }, TagRestrictedResources: []*string{ jsii.String("tagRestrictedResources"), }, Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }
type CfnSecurityProfile_ApplicationProperty ¶ added in v2.134.0
type CfnSecurityProfile_ApplicationProperty struct { // The permissions that the agent is granted on the application. // // Only the `ACCESS` permission is supported. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-securityprofile-application.html#cfn-connect-securityprofile-application-applicationpermissions // ApplicationPermissions *[]*string `field:"required" json:"applicationPermissions" yaml:"applicationPermissions"` // Namespace of the application that you want to give access to. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-securityprofile-application.html#cfn-connect-securityprofile-application-namespace // Namespace *string `field:"required" json:"namespace" yaml:"namespace"` }
This API is in preview release for Amazon Connect and is subject to change.
A third-party application's metadata.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" applicationProperty := &ApplicationProperty{ ApplicationPermissions: []*string{ jsii.String("applicationPermissions"), }, Namespace: jsii.String("namespace"), }
type CfnTaskTemplate ¶ added in v2.29.0
type CfnTaskTemplate interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggable // The Amazon Resource Name (ARN) of the task template. AttrArn() *string // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. ClientToken() *string SetClientToken(val *string) // Constraints that are applicable to the fields listed. Constraints() interface{} SetConstraints(val interface{}) // The Amazon Resource Name (ARN) of the flow that runs by default when a task is created by referencing this template. ContactFlowArn() *string SetContactFlowArn(val *string) // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The default values for fields when a task is created by referencing this template. Defaults() interface{} SetDefaults(val interface{}) // The description of the task template. Description() *string SetDescription(val *string) // Fields that are part of the template. Fields() interface{} SetFields(val interface{}) // The Amazon Resource Name (ARN) of the Amazon Connect instance. InstanceArn() *string SetInstanceArn(val *string) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The name of the task template. Name() *string SetName(val *string) // The tree node. Node() constructs.Node // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // The status of the task template. Status() *string SetStatus(val *string) // Tag Manager which manages the tags for this resource. Tags() awscdk.TagManager // The tags used to organize, track, or control access for this resource. TagsRaw() *[]*awscdk.CfnTag SetTagsRaw(val *[]*awscdk.CfnTag) // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
Specifies a task template for a Amazon Connect instance.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" var constraints interface{} cfnTaskTemplate := awscdk.Aws_connect.NewCfnTaskTemplate(this, jsii.String("MyCfnTaskTemplate"), &CfnTaskTemplateProps{ InstanceArn: jsii.String("instanceArn"), // the properties below are optional ClientToken: jsii.String("clientToken"), Constraints: constraints, ContactFlowArn: jsii.String("contactFlowArn"), Defaults: []interface{}{ &DefaultFieldValueProperty{ DefaultValue: jsii.String("defaultValue"), Id: &FieldIdentifierProperty{ Name: jsii.String("name"), }, }, }, Description: jsii.String("description"), Fields: []interface{}{ &FieldProperty{ Id: &FieldIdentifierProperty{ Name: jsii.String("name"), }, Type: jsii.String("type"), // the properties below are optional Description: jsii.String("description"), SingleSelectOptions: []*string{ jsii.String("singleSelectOptions"), }, }, }, Name: jsii.String("name"), Status: jsii.String("status"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, })
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-tasktemplate.html
func NewCfnTaskTemplate ¶ added in v2.29.0
func NewCfnTaskTemplate(scope constructs.Construct, id *string, props *CfnTaskTemplateProps) CfnTaskTemplate
type CfnTaskTemplateProps ¶ added in v2.29.0
type CfnTaskTemplateProps struct { // The Amazon Resource Name (ARN) of the Amazon Connect instance. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-tasktemplate.html#cfn-connect-tasktemplate-instancearn // InstanceArn *string `field:"required" json:"instanceArn" yaml:"instanceArn"` // A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-tasktemplate.html#cfn-connect-tasktemplate-clienttoken // ClientToken *string `field:"optional" json:"clientToken" yaml:"clientToken"` // Constraints that are applicable to the fields listed. // // The values can be represented in either JSON or YAML format. For an example of the JSON configuration, see *Examples* at the bottom of this page. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-tasktemplate.html#cfn-connect-tasktemplate-constraints // Constraints interface{} `field:"optional" json:"constraints" yaml:"constraints"` // The Amazon Resource Name (ARN) of the flow that runs by default when a task is created by referencing this template. // // `ContactFlowArn` is not required when there is a field with `fieldType` = `QUICK_CONNECT` . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-tasktemplate.html#cfn-connect-tasktemplate-contactflowarn // ContactFlowArn *string `field:"optional" json:"contactFlowArn" yaml:"contactFlowArn"` // The default values for fields when a task is created by referencing this template. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-tasktemplate.html#cfn-connect-tasktemplate-defaults // Defaults interface{} `field:"optional" json:"defaults" yaml:"defaults"` // The description of the task template. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-tasktemplate.html#cfn-connect-tasktemplate-description // Description *string `field:"optional" json:"description" yaml:"description"` // Fields that are part of the template. // // A template requires at least one field that has type `Name` . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-tasktemplate.html#cfn-connect-tasktemplate-fields // Fields interface{} `field:"optional" json:"fields" yaml:"fields"` // The name of the task template. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-tasktemplate.html#cfn-connect-tasktemplate-name // Name *string `field:"optional" json:"name" yaml:"name"` // The status of the task template. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-tasktemplate.html#cfn-connect-tasktemplate-status // Status *string `field:"optional" json:"status" yaml:"status"` // The tags used to organize, track, or control access for this resource. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-tasktemplate.html#cfn-connect-tasktemplate-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `CfnTaskTemplate`.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" var constraints interface{} cfnTaskTemplateProps := &CfnTaskTemplateProps{ InstanceArn: jsii.String("instanceArn"), // the properties below are optional ClientToken: jsii.String("clientToken"), Constraints: constraints, ContactFlowArn: jsii.String("contactFlowArn"), Defaults: []interface{}{ &DefaultFieldValueProperty{ DefaultValue: jsii.String("defaultValue"), Id: &FieldIdentifierProperty{ Name: jsii.String("name"), }, }, }, Description: jsii.String("description"), Fields: []interface{}{ &FieldProperty{ Id: &FieldIdentifierProperty{ Name: jsii.String("name"), }, Type: jsii.String("type"), // the properties below are optional Description: jsii.String("description"), SingleSelectOptions: []*string{ jsii.String("singleSelectOptions"), }, }, }, Name: jsii.String("name"), Status: jsii.String("status"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-tasktemplate.html
type CfnTaskTemplate_ConstraintsProperty ¶ added in v2.55.0
type CfnTaskTemplate_ConstraintsProperty struct { // Lists the fields that are invisible to agents. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-tasktemplate-constraints.html#cfn-connect-tasktemplate-constraints-invisiblefields // InvisibleFields interface{} `field:"optional" json:"invisibleFields" yaml:"invisibleFields"` // Lists the fields that are read-only to agents, and cannot be edited. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-tasktemplate-constraints.html#cfn-connect-tasktemplate-constraints-readonlyfields // ReadOnlyFields interface{} `field:"optional" json:"readOnlyFields" yaml:"readOnlyFields"` // Lists the fields that are required to be filled by agents. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-tasktemplate-constraints.html#cfn-connect-tasktemplate-constraints-requiredfields // RequiredFields interface{} `field:"optional" json:"requiredFields" yaml:"requiredFields"` }
Describes constraints that apply to the template fields.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" constraintsProperty := &ConstraintsProperty{ InvisibleFields: []interface{}{ &InvisibleFieldInfoProperty{ Id: &FieldIdentifierProperty{ Name: jsii.String("name"), }, }, }, ReadOnlyFields: []interface{}{ &ReadOnlyFieldInfoProperty{ Id: &FieldIdentifierProperty{ Name: jsii.String("name"), }, }, }, RequiredFields: []interface{}{ &RequiredFieldInfoProperty{ Id: &FieldIdentifierProperty{ Name: jsii.String("name"), }, }, }, }
type CfnTaskTemplate_DefaultFieldValueProperty ¶ added in v2.29.0
type CfnTaskTemplate_DefaultFieldValueProperty struct { // Default value for the field. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-tasktemplate-defaultfieldvalue.html#cfn-connect-tasktemplate-defaultfieldvalue-defaultvalue // DefaultValue *string `field:"required" json:"defaultValue" yaml:"defaultValue"` // Identifier of a field. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-tasktemplate-defaultfieldvalue.html#cfn-connect-tasktemplate-defaultfieldvalue-id // Id interface{} `field:"required" json:"id" yaml:"id"` }
Describes a default field and its corresponding value.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" defaultFieldValueProperty := &DefaultFieldValueProperty{ DefaultValue: jsii.String("defaultValue"), Id: &FieldIdentifierProperty{ Name: jsii.String("name"), }, }
type CfnTaskTemplate_FieldIdentifierProperty ¶ added in v2.29.0
type CfnTaskTemplate_FieldIdentifierProperty struct { // The name of the task template field. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-tasktemplate-fieldidentifier.html#cfn-connect-tasktemplate-fieldidentifier-name // Name *string `field:"required" json:"name" yaml:"name"` }
The identifier of the task template field.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" fieldIdentifierProperty := &FieldIdentifierProperty{ Name: jsii.String("name"), }
type CfnTaskTemplate_FieldProperty ¶ added in v2.29.0
type CfnTaskTemplate_FieldProperty struct { // The unique identifier for the field. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-tasktemplate-field.html#cfn-connect-tasktemplate-field-id // Id interface{} `field:"required" json:"id" yaml:"id"` // Indicates the type of field. // // Following are the valid field types: `NAME` `DESCRIPTION` | `SCHEDULED_TIME` | `QUICK_CONNECT` | `URL` | `NUMBER` | `TEXT` | `TEXT_AREA` | `DATE_TIME` | `BOOLEAN` | `SINGLE_SELECT` | `EMAIL`. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-tasktemplate-field.html#cfn-connect-tasktemplate-field-type // Type *string `field:"required" json:"type" yaml:"type"` // The description of the field. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-tasktemplate-field.html#cfn-connect-tasktemplate-field-description // Description *string `field:"optional" json:"description" yaml:"description"` // A list of options for a single select field. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-tasktemplate-field.html#cfn-connect-tasktemplate-field-singleselectoptions // SingleSelectOptions *[]*string `field:"optional" json:"singleSelectOptions" yaml:"singleSelectOptions"` }
Describes a single task template field.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" fieldProperty := &FieldProperty{ Id: &FieldIdentifierProperty{ Name: jsii.String("name"), }, Type: jsii.String("type"), // the properties below are optional Description: jsii.String("description"), SingleSelectOptions: []*string{ jsii.String("singleSelectOptions"), }, }
type CfnTaskTemplate_InvisibleFieldInfoProperty ¶ added in v2.55.0
type CfnTaskTemplate_InvisibleFieldInfoProperty struct { // Identifier of the invisible field. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-tasktemplate-invisiblefieldinfo.html#cfn-connect-tasktemplate-invisiblefieldinfo-id // Id interface{} `field:"required" json:"id" yaml:"id"` }
A field that is invisible to an agent.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" invisibleFieldInfoProperty := &InvisibleFieldInfoProperty{ Id: &FieldIdentifierProperty{ Name: jsii.String("name"), }, }
type CfnTaskTemplate_ReadOnlyFieldInfoProperty ¶ added in v2.55.0
type CfnTaskTemplate_ReadOnlyFieldInfoProperty struct { // Identifier of the read-only field. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-tasktemplate-readonlyfieldinfo.html#cfn-connect-tasktemplate-readonlyfieldinfo-id // Id interface{} `field:"required" json:"id" yaml:"id"` }
Indicates a field that is read-only to an agent.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" readOnlyFieldInfoProperty := &ReadOnlyFieldInfoProperty{ Id: &FieldIdentifierProperty{ Name: jsii.String("name"), }, }
type CfnTaskTemplate_RequiredFieldInfoProperty ¶ added in v2.55.0
type CfnTaskTemplate_RequiredFieldInfoProperty struct { // The unique identifier for the field. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-tasktemplate-requiredfieldinfo.html#cfn-connect-tasktemplate-requiredfieldinfo-id // Id interface{} `field:"required" json:"id" yaml:"id"` }
Information about a required field.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" requiredFieldInfoProperty := &RequiredFieldInfoProperty{ Id: &FieldIdentifierProperty{ Name: jsii.String("name"), }, }
type CfnTrafficDistributionGroup ¶ added in v2.93.0
type CfnTrafficDistributionGroup interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggableV2 // Describes whether this is the default traffic distribution group. AttrIsDefault() awscdk.IResolvable // The status of the traffic distribution group. AttrStatus() *string // The Amazon Resource Name (ARN) of the traffic distribution group. AttrTrafficDistributionGroupArn() *string // Tag Manager which manages the tags for this resource. CdkTagManager() awscdk.TagManager // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The description of the traffic distribution group. Description() *string SetDescription(val *string) // The Amazon Resource Name (ARN). InstanceArn() *string SetInstanceArn(val *string) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The name of the traffic distribution group. Name() *string SetName(val *string) // The tree node. Node() constructs.Node // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // The tags used to organize, track, or control access for this resource. Tags() *[]*awscdk.CfnTag SetTags(val *[]*awscdk.CfnTag) // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
Information about a traffic distribution group.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnTrafficDistributionGroup := awscdk.Aws_connect.NewCfnTrafficDistributionGroup(this, jsii.String("MyCfnTrafficDistributionGroup"), &CfnTrafficDistributionGroupProps{ InstanceArn: jsii.String("instanceArn"), Name: jsii.String("name"), // the properties below are optional Description: jsii.String("description"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, })
func NewCfnTrafficDistributionGroup ¶ added in v2.93.0
func NewCfnTrafficDistributionGroup(scope constructs.Construct, id *string, props *CfnTrafficDistributionGroupProps) CfnTrafficDistributionGroup
type CfnTrafficDistributionGroupProps ¶ added in v2.93.0
type CfnTrafficDistributionGroupProps struct { // The Amazon Resource Name (ARN). // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-trafficdistributiongroup.html#cfn-connect-trafficdistributiongroup-instancearn // InstanceArn *string `field:"required" json:"instanceArn" yaml:"instanceArn"` // The name of the traffic distribution group. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-trafficdistributiongroup.html#cfn-connect-trafficdistributiongroup-name // Name *string `field:"required" json:"name" yaml:"name"` // The description of the traffic distribution group. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-trafficdistributiongroup.html#cfn-connect-trafficdistributiongroup-description // Description *string `field:"optional" json:"description" yaml:"description"` // The tags used to organize, track, or control access for this resource. // // For example, {"tags": {"key1":"value1", "key2":"value2"} }. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-trafficdistributiongroup.html#cfn-connect-trafficdistributiongroup-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `CfnTrafficDistributionGroup`.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnTrafficDistributionGroupProps := &CfnTrafficDistributionGroupProps{ InstanceArn: jsii.String("instanceArn"), Name: jsii.String("name"), // the properties below are optional Description: jsii.String("description"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }
type CfnUser ¶
type CfnUser interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggable // The Amazon Resource Name (ARN) of the user. AttrUserArn() *string // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The identifier of the user account in the directory used for identity management. DirectoryUserId() *string SetDirectoryUserId(val *string) // The Amazon Resource Name (ARN) of the user's hierarchy group. HierarchyGroupArn() *string SetHierarchyGroupArn(val *string) // Information about the user identity. IdentityInfo() interface{} SetIdentityInfo(val interface{}) // The Amazon Resource Name (ARN) of the instance. InstanceArn() *string SetInstanceArn(val *string) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The tree node. Node() constructs.Node // The user's password. Password() *string SetPassword(val *string) // Information about the phone configuration for the user. PhoneConfig() interface{} SetPhoneConfig(val interface{}) // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The Amazon Resource Name (ARN) of the user's routing profile. RoutingProfileArn() *string SetRoutingProfileArn(val *string) // The Amazon Resource Name (ARN) of the user's security profile. SecurityProfileArns() *[]*string SetSecurityProfileArns(val *[]*string) // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // Tag Manager which manages the tags for this resource. Tags() awscdk.TagManager // The tags. TagsRaw() *[]*awscdk.CfnTag SetTagsRaw(val *[]*awscdk.CfnTag) // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // The user name assigned to the user account. Username() *string SetUsername(val *string) // One or more predefined attributes assigned to a user, with a numeric value that indicates how their level of skill in a specified area. UserProficiencies() interface{} SetUserProficiencies(val interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
Specifies a user account for an Amazon Connect instance.
For information about how to create user accounts using the Amazon Connect console, see [Add Users](https://docs.aws.amazon.com/connect/latest/adminguide/user-management.html) in the *Amazon Connect Administrator Guide* .
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnUser := awscdk.Aws_connect.NewCfnUser(this, jsii.String("MyCfnUser"), &CfnUserProps{ InstanceArn: jsii.String("instanceArn"), PhoneConfig: &UserPhoneConfigProperty{ PhoneType: jsii.String("phoneType"), // the properties below are optional AfterContactWorkTimeLimit: jsii.Number(123), AutoAccept: jsii.Boolean(false), DeskPhoneNumber: jsii.String("deskPhoneNumber"), }, RoutingProfileArn: jsii.String("routingProfileArn"), SecurityProfileArns: []*string{ jsii.String("securityProfileArns"), }, Username: jsii.String("username"), // the properties below are optional DirectoryUserId: jsii.String("directoryUserId"), HierarchyGroupArn: jsii.String("hierarchyGroupArn"), IdentityInfo: &UserIdentityInfoProperty{ Email: jsii.String("email"), FirstName: jsii.String("firstName"), LastName: jsii.String("lastName"), Mobile: jsii.String("mobile"), SecondaryEmail: jsii.String("secondaryEmail"), }, Password: jsii.String("password"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, UserProficiencies: []interface{}{ &UserProficiencyProperty{ AttributeName: jsii.String("attributeName"), AttributeValue: jsii.String("attributeValue"), Level: jsii.Number(123), }, }, })
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html
func NewCfnUser ¶
func NewCfnUser(scope constructs.Construct, id *string, props *CfnUserProps) CfnUser
type CfnUserHierarchyGroup ¶
type CfnUserHierarchyGroup interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggableV2 // The Amazon Resource Name (ARN) of the user hierarchy group. AttrUserHierarchyGroupArn() *string // Tag Manager which manages the tags for this resource. CdkTagManager() awscdk.TagManager // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The Amazon Resource Name (ARN) of the user hierarchy group. InstanceArn() *string SetInstanceArn(val *string) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The name of the user hierarchy group. Name() *string SetName(val *string) // The tree node. Node() constructs.Node // The Amazon Resource Name (ARN) of the parent group. ParentGroupArn() *string SetParentGroupArn(val *string) // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // An array of key-value pairs to apply to this resource. Tags() *[]*awscdk.CfnTag SetTags(val *[]*awscdk.CfnTag) // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
Specifies a new user hierarchy group.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnUserHierarchyGroup := awscdk.Aws_connect.NewCfnUserHierarchyGroup(this, jsii.String("MyCfnUserHierarchyGroup"), &CfnUserHierarchyGroupProps{ InstanceArn: jsii.String("instanceArn"), Name: jsii.String("name"), // the properties below are optional ParentGroupArn: jsii.String("parentGroupArn"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, })
func NewCfnUserHierarchyGroup ¶
func NewCfnUserHierarchyGroup(scope constructs.Construct, id *string, props *CfnUserHierarchyGroupProps) CfnUserHierarchyGroup
type CfnUserHierarchyGroupProps ¶
type CfnUserHierarchyGroupProps struct { // The Amazon Resource Name (ARN) of the user hierarchy group. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-userhierarchygroup.html#cfn-connect-userhierarchygroup-instancearn // InstanceArn *string `field:"required" json:"instanceArn" yaml:"instanceArn"` // The name of the user hierarchy group. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-userhierarchygroup.html#cfn-connect-userhierarchygroup-name // Name *string `field:"required" json:"name" yaml:"name"` // The Amazon Resource Name (ARN) of the parent group. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-userhierarchygroup.html#cfn-connect-userhierarchygroup-parentgrouparn // ParentGroupArn *string `field:"optional" json:"parentGroupArn" yaml:"parentGroupArn"` // An array of key-value pairs to apply to this resource. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-userhierarchygroup.html#cfn-connect-userhierarchygroup-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `CfnUserHierarchyGroup`.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnUserHierarchyGroupProps := &CfnUserHierarchyGroupProps{ InstanceArn: jsii.String("instanceArn"), Name: jsii.String("name"), // the properties below are optional ParentGroupArn: jsii.String("parentGroupArn"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }
type CfnUserHierarchyStructure ¶ added in v2.159.0
type CfnUserHierarchyStructure interface { awscdk.CfnResource awscdk.IInspectable // The identifier for the user hierarchy structure. AttrUserHierarchyStructureArn() *string // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The Amazon Resource Name (ARN) of the instance. InstanceArn() *string SetInstanceArn(val *string) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The tree node. Node() constructs.Node // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Contains information about a hierarchy structure. UserHierarchyStructure() interface{} SetUserHierarchyStructure(val interface{}) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
Contains information about a hierarchy structure.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnUserHierarchyStructure := awscdk.Aws_connect.NewCfnUserHierarchyStructure(this, jsii.String("MyCfnUserHierarchyStructure"), &CfnUserHierarchyStructureProps{ InstanceArn: jsii.String("instanceArn"), // the properties below are optional UserHierarchyStructure: &UserHierarchyStructureProperty{ LevelFive: &LevelFiveProperty{ Name: jsii.String("name"), // the properties below are optional HierarchyLevelArn: jsii.String("hierarchyLevelArn"), HierarchyLevelId: jsii.String("hierarchyLevelId"), }, LevelFour: &LevelFourProperty{ Name: jsii.String("name"), // the properties below are optional HierarchyLevelArn: jsii.String("hierarchyLevelArn"), HierarchyLevelId: jsii.String("hierarchyLevelId"), }, LevelOne: &LevelOneProperty{ Name: jsii.String("name"), // the properties below are optional HierarchyLevelArn: jsii.String("hierarchyLevelArn"), HierarchyLevelId: jsii.String("hierarchyLevelId"), }, LevelThree: &LevelThreeProperty{ Name: jsii.String("name"), // the properties below are optional HierarchyLevelArn: jsii.String("hierarchyLevelArn"), HierarchyLevelId: jsii.String("hierarchyLevelId"), }, LevelTwo: &LevelTwoProperty{ Name: jsii.String("name"), // the properties below are optional HierarchyLevelArn: jsii.String("hierarchyLevelArn"), HierarchyLevelId: jsii.String("hierarchyLevelId"), }, }, })
func NewCfnUserHierarchyStructure ¶ added in v2.159.0
func NewCfnUserHierarchyStructure(scope constructs.Construct, id *string, props *CfnUserHierarchyStructureProps) CfnUserHierarchyStructure
type CfnUserHierarchyStructureProps ¶ added in v2.159.0
type CfnUserHierarchyStructureProps struct { // The Amazon Resource Name (ARN) of the instance. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-userhierarchystructure.html#cfn-connect-userhierarchystructure-instancearn // InstanceArn *string `field:"required" json:"instanceArn" yaml:"instanceArn"` // Contains information about a hierarchy structure. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-userhierarchystructure.html#cfn-connect-userhierarchystructure-userhierarchystructure // UserHierarchyStructure interface{} `field:"optional" json:"userHierarchyStructure" yaml:"userHierarchyStructure"` }
Properties for defining a `CfnUserHierarchyStructure`.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnUserHierarchyStructureProps := &CfnUserHierarchyStructureProps{ InstanceArn: jsii.String("instanceArn"), // the properties below are optional UserHierarchyStructure: &UserHierarchyStructureProperty{ LevelFive: &LevelFiveProperty{ Name: jsii.String("name"), // the properties below are optional HierarchyLevelArn: jsii.String("hierarchyLevelArn"), HierarchyLevelId: jsii.String("hierarchyLevelId"), }, LevelFour: &LevelFourProperty{ Name: jsii.String("name"), // the properties below are optional HierarchyLevelArn: jsii.String("hierarchyLevelArn"), HierarchyLevelId: jsii.String("hierarchyLevelId"), }, LevelOne: &LevelOneProperty{ Name: jsii.String("name"), // the properties below are optional HierarchyLevelArn: jsii.String("hierarchyLevelArn"), HierarchyLevelId: jsii.String("hierarchyLevelId"), }, LevelThree: &LevelThreeProperty{ Name: jsii.String("name"), // the properties below are optional HierarchyLevelArn: jsii.String("hierarchyLevelArn"), HierarchyLevelId: jsii.String("hierarchyLevelId"), }, LevelTwo: &LevelTwoProperty{ Name: jsii.String("name"), // the properties below are optional HierarchyLevelArn: jsii.String("hierarchyLevelArn"), HierarchyLevelId: jsii.String("hierarchyLevelId"), }, }, }
type CfnUserHierarchyStructure_LevelFiveProperty ¶ added in v2.159.0
type CfnUserHierarchyStructure_LevelFiveProperty struct { // The name of the hierarchy level. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-levelfive.html#cfn-connect-userhierarchystructure-levelfive-name // Name *string `field:"required" json:"name" yaml:"name"` // The Amazon Resource Name (ARN) of the hierarchy level. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-levelfive.html#cfn-connect-userhierarchystructure-levelfive-hierarchylevelarn // HierarchyLevelArn *string `field:"optional" json:"hierarchyLevelArn" yaml:"hierarchyLevelArn"` // The identifier of the hierarchy level. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-levelfive.html#cfn-connect-userhierarchystructure-levelfive-hierarchylevelid // HierarchyLevelId *string `field:"optional" json:"hierarchyLevelId" yaml:"hierarchyLevelId"` }
The update for level five.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" levelFiveProperty := &LevelFiveProperty{ Name: jsii.String("name"), // the properties below are optional HierarchyLevelArn: jsii.String("hierarchyLevelArn"), HierarchyLevelId: jsii.String("hierarchyLevelId"), }
type CfnUserHierarchyStructure_LevelFourProperty ¶ added in v2.159.0
type CfnUserHierarchyStructure_LevelFourProperty struct { // The name of the hierarchy level. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-levelfour.html#cfn-connect-userhierarchystructure-levelfour-name // Name *string `field:"required" json:"name" yaml:"name"` // The Amazon Resource Name (ARN) of the hierarchy level. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-levelfour.html#cfn-connect-userhierarchystructure-levelfour-hierarchylevelarn // HierarchyLevelArn *string `field:"optional" json:"hierarchyLevelArn" yaml:"hierarchyLevelArn"` // The identifier of the hierarchy level. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-levelfour.html#cfn-connect-userhierarchystructure-levelfour-hierarchylevelid // HierarchyLevelId *string `field:"optional" json:"hierarchyLevelId" yaml:"hierarchyLevelId"` }
The update for level four.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" levelFourProperty := &LevelFourProperty{ Name: jsii.String("name"), // the properties below are optional HierarchyLevelArn: jsii.String("hierarchyLevelArn"), HierarchyLevelId: jsii.String("hierarchyLevelId"), }
type CfnUserHierarchyStructure_LevelOneProperty ¶ added in v2.159.0
type CfnUserHierarchyStructure_LevelOneProperty struct { // The name of the hierarchy level. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-levelone.html#cfn-connect-userhierarchystructure-levelone-name // Name *string `field:"required" json:"name" yaml:"name"` // The Amazon Resource Name (ARN) of the hierarchy level. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-levelone.html#cfn-connect-userhierarchystructure-levelone-hierarchylevelarn // HierarchyLevelArn *string `field:"optional" json:"hierarchyLevelArn" yaml:"hierarchyLevelArn"` // The identifier of the hierarchy level. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-levelone.html#cfn-connect-userhierarchystructure-levelone-hierarchylevelid // HierarchyLevelId *string `field:"optional" json:"hierarchyLevelId" yaml:"hierarchyLevelId"` }
Information about level one.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" levelOneProperty := &LevelOneProperty{ Name: jsii.String("name"), // the properties below are optional HierarchyLevelArn: jsii.String("hierarchyLevelArn"), HierarchyLevelId: jsii.String("hierarchyLevelId"), }
type CfnUserHierarchyStructure_LevelThreeProperty ¶ added in v2.159.0
type CfnUserHierarchyStructure_LevelThreeProperty struct { // The name of the hierarchy level. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-levelthree.html#cfn-connect-userhierarchystructure-levelthree-name // Name *string `field:"required" json:"name" yaml:"name"` // The Amazon Resource Name (ARN) of the hierarchy level. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-levelthree.html#cfn-connect-userhierarchystructure-levelthree-hierarchylevelarn // HierarchyLevelArn *string `field:"optional" json:"hierarchyLevelArn" yaml:"hierarchyLevelArn"` // The identifier of the hierarchy level. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-levelthree.html#cfn-connect-userhierarchystructure-levelthree-hierarchylevelid // HierarchyLevelId *string `field:"optional" json:"hierarchyLevelId" yaml:"hierarchyLevelId"` }
The update for level three.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" levelThreeProperty := &LevelThreeProperty{ Name: jsii.String("name"), // the properties below are optional HierarchyLevelArn: jsii.String("hierarchyLevelArn"), HierarchyLevelId: jsii.String("hierarchyLevelId"), }
type CfnUserHierarchyStructure_LevelTwoProperty ¶ added in v2.159.0
type CfnUserHierarchyStructure_LevelTwoProperty struct { // The name of the hierarchy level. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-leveltwo.html#cfn-connect-userhierarchystructure-leveltwo-name // Name *string `field:"required" json:"name" yaml:"name"` // The Amazon Resource Name (ARN) of the hierarchy level. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-leveltwo.html#cfn-connect-userhierarchystructure-leveltwo-hierarchylevelarn // HierarchyLevelArn *string `field:"optional" json:"hierarchyLevelArn" yaml:"hierarchyLevelArn"` // The identifier of the hierarchy level. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-leveltwo.html#cfn-connect-userhierarchystructure-leveltwo-hierarchylevelid // HierarchyLevelId *string `field:"optional" json:"hierarchyLevelId" yaml:"hierarchyLevelId"` }
The update for level two.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" levelTwoProperty := &LevelTwoProperty{ Name: jsii.String("name"), // the properties below are optional HierarchyLevelArn: jsii.String("hierarchyLevelArn"), HierarchyLevelId: jsii.String("hierarchyLevelId"), }
type CfnUserHierarchyStructure_UserHierarchyStructureProperty ¶ added in v2.159.0
type CfnUserHierarchyStructure_UserHierarchyStructureProperty struct { // Information about level five. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-userhierarchystructure.html#cfn-connect-userhierarchystructure-userhierarchystructure-levelfive // LevelFive interface{} `field:"optional" json:"levelFive" yaml:"levelFive"` // The update for level four. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-userhierarchystructure.html#cfn-connect-userhierarchystructure-userhierarchystructure-levelfour // LevelFour interface{} `field:"optional" json:"levelFour" yaml:"levelFour"` // The update for level one. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-userhierarchystructure.html#cfn-connect-userhierarchystructure-userhierarchystructure-levelone // LevelOne interface{} `field:"optional" json:"levelOne" yaml:"levelOne"` // The update for level three. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-userhierarchystructure.html#cfn-connect-userhierarchystructure-userhierarchystructure-levelthree // LevelThree interface{} `field:"optional" json:"levelThree" yaml:"levelThree"` // The update for level two. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-userhierarchystructure.html#cfn-connect-userhierarchystructure-userhierarchystructure-leveltwo // LevelTwo interface{} `field:"optional" json:"levelTwo" yaml:"levelTwo"` }
Contains information about a hierarchy structure.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" userHierarchyStructureProperty := &UserHierarchyStructureProperty{ LevelFive: &LevelFiveProperty{ Name: jsii.String("name"), // the properties below are optional HierarchyLevelArn: jsii.String("hierarchyLevelArn"), HierarchyLevelId: jsii.String("hierarchyLevelId"), }, LevelFour: &LevelFourProperty{ Name: jsii.String("name"), // the properties below are optional HierarchyLevelArn: jsii.String("hierarchyLevelArn"), HierarchyLevelId: jsii.String("hierarchyLevelId"), }, LevelOne: &LevelOneProperty{ Name: jsii.String("name"), // the properties below are optional HierarchyLevelArn: jsii.String("hierarchyLevelArn"), HierarchyLevelId: jsii.String("hierarchyLevelId"), }, LevelThree: &LevelThreeProperty{ Name: jsii.String("name"), // the properties below are optional HierarchyLevelArn: jsii.String("hierarchyLevelArn"), HierarchyLevelId: jsii.String("hierarchyLevelId"), }, LevelTwo: &LevelTwoProperty{ Name: jsii.String("name"), // the properties below are optional HierarchyLevelArn: jsii.String("hierarchyLevelArn"), HierarchyLevelId: jsii.String("hierarchyLevelId"), }, }
type CfnUserProps ¶
type CfnUserProps struct { // The Amazon Resource Name (ARN) of the instance. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-instancearn // InstanceArn *string `field:"required" json:"instanceArn" yaml:"instanceArn"` // Information about the phone configuration for the user. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-phoneconfig // PhoneConfig interface{} `field:"required" json:"phoneConfig" yaml:"phoneConfig"` // The Amazon Resource Name (ARN) of the user's routing profile. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-routingprofilearn // RoutingProfileArn *string `field:"required" json:"routingProfileArn" yaml:"routingProfileArn"` // The Amazon Resource Name (ARN) of the user's security profile. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-securityprofilearns // SecurityProfileArns *[]*string `field:"required" json:"securityProfileArns" yaml:"securityProfileArns"` // The user name assigned to the user account. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-username // Username *string `field:"required" json:"username" yaml:"username"` // The identifier of the user account in the directory used for identity management. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-directoryuserid // DirectoryUserId *string `field:"optional" json:"directoryUserId" yaml:"directoryUserId"` // The Amazon Resource Name (ARN) of the user's hierarchy group. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-hierarchygrouparn // HierarchyGroupArn *string `field:"optional" json:"hierarchyGroupArn" yaml:"hierarchyGroupArn"` // Information about the user identity. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-identityinfo // IdentityInfo interface{} `field:"optional" json:"identityInfo" yaml:"identityInfo"` // The user's password. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-password // Password *string `field:"optional" json:"password" yaml:"password"` // The tags. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` // One or more predefined attributes assigned to a user, with a numeric value that indicates how their level of skill in a specified area. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-userproficiencies // UserProficiencies interface{} `field:"optional" json:"userProficiencies" yaml:"userProficiencies"` }
Properties for defining a `CfnUser`.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnUserProps := &CfnUserProps{ InstanceArn: jsii.String("instanceArn"), PhoneConfig: &UserPhoneConfigProperty{ PhoneType: jsii.String("phoneType"), // the properties below are optional AfterContactWorkTimeLimit: jsii.Number(123), AutoAccept: jsii.Boolean(false), DeskPhoneNumber: jsii.String("deskPhoneNumber"), }, RoutingProfileArn: jsii.String("routingProfileArn"), SecurityProfileArns: []*string{ jsii.String("securityProfileArns"), }, Username: jsii.String("username"), // the properties below are optional DirectoryUserId: jsii.String("directoryUserId"), HierarchyGroupArn: jsii.String("hierarchyGroupArn"), IdentityInfo: &UserIdentityInfoProperty{ Email: jsii.String("email"), FirstName: jsii.String("firstName"), LastName: jsii.String("lastName"), Mobile: jsii.String("mobile"), SecondaryEmail: jsii.String("secondaryEmail"), }, Password: jsii.String("password"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, UserProficiencies: []interface{}{ &UserProficiencyProperty{ AttributeName: jsii.String("attributeName"), AttributeValue: jsii.String("attributeValue"), Level: jsii.Number(123), }, }, }
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html
type CfnUser_UserIdentityInfoProperty ¶
type CfnUser_UserIdentityInfoProperty struct { // The email address. // // If you are using SAML for identity management and include this parameter, an error is returned. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-user-useridentityinfo.html#cfn-connect-user-useridentityinfo-email // Email *string `field:"optional" json:"email" yaml:"email"` // The first name. // // This is required if you are using Amazon Connect or SAML for identity management. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-user-useridentityinfo.html#cfn-connect-user-useridentityinfo-firstname // FirstName *string `field:"optional" json:"firstName" yaml:"firstName"` // The last name. // // This is required if you are using Amazon Connect or SAML for identity management. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-user-useridentityinfo.html#cfn-connect-user-useridentityinfo-lastname // LastName *string `field:"optional" json:"lastName" yaml:"lastName"` // The user's mobile number. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-user-useridentityinfo.html#cfn-connect-user-useridentityinfo-mobile // Mobile *string `field:"optional" json:"mobile" yaml:"mobile"` // The user's secondary email address. // // If you provide a secondary email, the user receives email notifications -- other than password reset notifications -- to this email address instead of to their primary email address. // // *Pattern* : `(?=^.{0,265}$)[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-user-useridentityinfo.html#cfn-connect-user-useridentityinfo-secondaryemail // SecondaryEmail *string `field:"optional" json:"secondaryEmail" yaml:"secondaryEmail"` }
Contains information about the identity of a user.
> For Amazon Connect instances that are created with the `EXISTING_DIRECTORY` identity management type, `FirstName` , `LastName` , and `Email` cannot be updated from within Amazon Connect because they are managed by the directory.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" userIdentityInfoProperty := &UserIdentityInfoProperty{ Email: jsii.String("email"), FirstName: jsii.String("firstName"), LastName: jsii.String("lastName"), Mobile: jsii.String("mobile"), SecondaryEmail: jsii.String("secondaryEmail"), }
type CfnUser_UserPhoneConfigProperty ¶
type CfnUser_UserPhoneConfigProperty struct { // The phone type. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-user-userphoneconfig.html#cfn-connect-user-userphoneconfig-phonetype // PhoneType *string `field:"required" json:"phoneType" yaml:"phoneType"` // The After Call Work (ACW) timeout setting, in seconds. // // This parameter has a minimum value of 0 and a maximum value of 2,000,000 seconds (24 days). Enter 0 if you don't want to allocate a specific amount of ACW time. It essentially means an indefinite amount of time. When the conversation ends, ACW starts; the agent must choose Close contact to end ACW. // // > When returned by a `SearchUsers` call, `AfterContactWorkTimeLimit` is returned in milliseconds. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-user-userphoneconfig.html#cfn-connect-user-userphoneconfig-aftercontactworktimelimit // AfterContactWorkTimeLimit *float64 `field:"optional" json:"afterContactWorkTimeLimit" yaml:"afterContactWorkTimeLimit"` // The Auto accept setting. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-user-userphoneconfig.html#cfn-connect-user-userphoneconfig-autoaccept // AutoAccept interface{} `field:"optional" json:"autoAccept" yaml:"autoAccept"` // The phone number for the user's desk phone. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-user-userphoneconfig.html#cfn-connect-user-userphoneconfig-deskphonenumber // DeskPhoneNumber *string `field:"optional" json:"deskPhoneNumber" yaml:"deskPhoneNumber"` }
Contains information about the phone configuration settings for a user.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" userPhoneConfigProperty := &UserPhoneConfigProperty{ PhoneType: jsii.String("phoneType"), // the properties below are optional AfterContactWorkTimeLimit: jsii.Number(123), AutoAccept: jsii.Boolean(false), DeskPhoneNumber: jsii.String("deskPhoneNumber"), }
type CfnUser_UserProficiencyProperty ¶ added in v2.119.0
type CfnUser_UserProficiencyProperty struct { // The name of user’s proficiency. // // You must use a predefined attribute name that is present in the Amazon Connect instance. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-user-userproficiency.html#cfn-connect-user-userproficiency-attributename // AttributeName *string `field:"required" json:"attributeName" yaml:"attributeName"` // The value of user’s proficiency. // // You must use a predefined attribute value that is present in the Amazon Connect instance. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-user-userproficiency.html#cfn-connect-user-userproficiency-attributevalue // AttributeValue *string `field:"required" json:"attributeValue" yaml:"attributeValue"` // The level of the proficiency. // // The valid values are 1, 2, 3, 4 and 5. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-user-userproficiency.html#cfn-connect-user-userproficiency-level // Level *float64 `field:"required" json:"level" yaml:"level"` }
> A predefined attribute must be created before using `UserProficiencies` in the Cloudformation *User* template.
For more information, see [Predefined attributes](https://docs.aws.amazon.com/connect/latest/adminguide/predefined-attributes.html) .
Proficiency of a user.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" userProficiencyProperty := &UserProficiencyProperty{ AttributeName: jsii.String("attributeName"), AttributeValue: jsii.String("attributeValue"), Level: jsii.Number(123), }
type CfnView ¶ added in v2.97.0
type CfnView interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggableV2 // A list of actions possible from the view. Actions() *[]*string SetActions(val *[]*string) // The unqualified Amazon Resource Name (ARN) of the view. // // For example: // // `arn:<partition>:connect:<region>:<accountId>:instance/00000000-0000-0000-0000-000000000000/view/00000000-0000-0000-0000-000000000000`. AttrViewArn() *string // Indicates the checksum value of the latest published view content. AttrViewContentSha256() *string // The identifier of the view. AttrViewId() *string // Tag Manager which manages the tags for this resource. CdkTagManager() awscdk.TagManager // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The description of the view. Description() *string SetDescription(val *string) // The Amazon Resource Name (ARN) of the instance. InstanceArn() *string SetInstanceArn(val *string) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The name of the view. Name() *string SetName(val *string) // The tree node. Node() constructs.Node // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // The tags associated with the view resource (not specific to view version). Tags() *[]*awscdk.CfnTag SetTags(val *[]*awscdk.CfnTag) // The view template representing the structure of the view. Template() interface{} SetTemplate(val interface{}) // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
Creates a customer-managed view in the published state within the specified instance.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" var template interface{} cfnView := awscdk.Aws_connect.NewCfnView(this, jsii.String("MyCfnView"), &CfnViewProps{ Actions: []*string{ jsii.String("actions"), }, InstanceArn: jsii.String("instanceArn"), Name: jsii.String("name"), Template: template, // the properties below are optional Description: jsii.String("description"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, })
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-view.html
func NewCfnView ¶ added in v2.97.0
func NewCfnView(scope constructs.Construct, id *string, props *CfnViewProps) CfnView
type CfnViewProps ¶ added in v2.97.0
type CfnViewProps struct { // A list of actions possible from the view. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-view.html#cfn-connect-view-actions // Actions *[]*string `field:"required" json:"actions" yaml:"actions"` // The Amazon Resource Name (ARN) of the instance. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-view.html#cfn-connect-view-instancearn // InstanceArn *string `field:"required" json:"instanceArn" yaml:"instanceArn"` // The name of the view. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-view.html#cfn-connect-view-name // Name *string `field:"required" json:"name" yaml:"name"` // The view template representing the structure of the view. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-view.html#cfn-connect-view-template // Template interface{} `field:"required" json:"template" yaml:"template"` // The description of the view. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-view.html#cfn-connect-view-description // Description *string `field:"optional" json:"description" yaml:"description"` // The tags associated with the view resource (not specific to view version). // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-view.html#cfn-connect-view-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `CfnView`.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" var template interface{} cfnViewProps := &CfnViewProps{ Actions: []*string{ jsii.String("actions"), }, InstanceArn: jsii.String("instanceArn"), Name: jsii.String("name"), Template: template, // the properties below are optional Description: jsii.String("description"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-view.html
type CfnViewVersion ¶ added in v2.97.0
type CfnViewVersion interface { awscdk.CfnResource awscdk.IInspectable // Current version of the view. AttrVersion() *float64 // The Amazon Resource Name (ARN) of the view version. AttrViewVersionArn() *string // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The tree node. Node() constructs.Node // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // The description of the view version. VersionDescription() *string SetVersionDescription(val *string) // The unqualified Amazon Resource Name (ARN) of the view. ViewArn() *string SetViewArn(val *string) // Indicates the checksum value of the latest published view content. ViewContentSha256() *string SetViewContentSha256(val *string) // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
Creates a version for the specified customer-managed view within the specified instance.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnViewVersion := awscdk.Aws_connect.NewCfnViewVersion(this, jsii.String("MyCfnViewVersion"), &CfnViewVersionProps{ ViewArn: jsii.String("viewArn"), // the properties below are optional VersionDescription: jsii.String("versionDescription"), ViewContentSha256: jsii.String("viewContentSha256"), })
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-viewversion.html
func NewCfnViewVersion ¶ added in v2.97.0
func NewCfnViewVersion(scope constructs.Construct, id *string, props *CfnViewVersionProps) CfnViewVersion
type CfnViewVersionProps ¶ added in v2.97.0
type CfnViewVersionProps struct { // The unqualified Amazon Resource Name (ARN) of the view. // // For example: // // `arn:<partition>:connect:<region>:<accountId>:instance/00000000-0000-0000-0000-000000000000/view/00000000-0000-0000-0000-000000000000`. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-viewversion.html#cfn-connect-viewversion-viewarn // ViewArn *string `field:"required" json:"viewArn" yaml:"viewArn"` // The description of the view version. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-viewversion.html#cfn-connect-viewversion-versiondescription // VersionDescription *string `field:"optional" json:"versionDescription" yaml:"versionDescription"` // Indicates the checksum value of the latest published view content. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-viewversion.html#cfn-connect-viewversion-viewcontentsha256 // ViewContentSha256 *string `field:"optional" json:"viewContentSha256" yaml:"viewContentSha256"` }
Properties for defining a `CfnViewVersion`.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdk" cfnViewVersionProps := &CfnViewVersionProps{ ViewArn: jsii.String("viewArn"), // the properties below are optional VersionDescription: jsii.String("versionDescription"), ViewContentSha256: jsii.String("viewContentSha256"), }
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-viewversion.html
Source Files ¶
- CfnAgentStatus.go
- CfnAgentStatusProps.go
- CfnAgentStatus__checks.go
- CfnApprovedOrigin.go
- CfnApprovedOriginProps.go
- CfnApprovedOrigin__checks.go
- CfnContactFlow.go
- CfnContactFlowModule.go
- CfnContactFlowModuleProps.go
- CfnContactFlowModule__checks.go
- CfnContactFlowProps.go
- CfnContactFlow__checks.go
- CfnEvaluationForm.go
- CfnEvaluationFormProps.go
- CfnEvaluationForm_EvaluationFormBaseItemProperty.go
- CfnEvaluationForm_EvaluationFormItemProperty.go
- CfnEvaluationForm_EvaluationFormNumericQuestionAutomationProperty.go
- CfnEvaluationForm_EvaluationFormNumericQuestionOptionProperty.go
- CfnEvaluationForm_EvaluationFormNumericQuestionPropertiesProperty.go
- CfnEvaluationForm_EvaluationFormQuestionProperty.go
- CfnEvaluationForm_EvaluationFormQuestionTypePropertiesProperty.go
- CfnEvaluationForm_EvaluationFormSectionProperty.go
- CfnEvaluationForm_EvaluationFormSingleSelectQuestionAutomationOptionProperty.go
- CfnEvaluationForm_EvaluationFormSingleSelectQuestionAutomationProperty.go
- CfnEvaluationForm_EvaluationFormSingleSelectQuestionOptionProperty.go
- CfnEvaluationForm_EvaluationFormSingleSelectQuestionPropertiesProperty.go
- CfnEvaluationForm_NumericQuestionPropertyValueAutomationProperty.go
- CfnEvaluationForm_ScoringStrategyProperty.go
- CfnEvaluationForm_SingleSelectQuestionRuleCategoryAutomationProperty.go
- CfnEvaluationForm__checks.go
- CfnHoursOfOperation.go
- CfnHoursOfOperationProps.go
- CfnHoursOfOperation_HoursOfOperationConfigProperty.go
- CfnHoursOfOperation_HoursOfOperationTimeSliceProperty.go
- CfnHoursOfOperation__checks.go
- CfnInstance.go
- CfnInstanceProps.go
- CfnInstanceStorageConfig.go
- CfnInstanceStorageConfigProps.go
- CfnInstanceStorageConfig_EncryptionConfigProperty.go
- CfnInstanceStorageConfig_KinesisFirehoseConfigProperty.go
- CfnInstanceStorageConfig_KinesisStreamConfigProperty.go
- CfnInstanceStorageConfig_KinesisVideoStreamConfigProperty.go
- CfnInstanceStorageConfig_S3ConfigProperty.go
- CfnInstanceStorageConfig__checks.go
- CfnInstance_AttributesProperty.go
- CfnInstance__checks.go
- CfnIntegrationAssociation.go
- CfnIntegrationAssociationProps.go
- CfnIntegrationAssociation__checks.go
- CfnPhoneNumber.go
- CfnPhoneNumberProps.go
- CfnPhoneNumber__checks.go
- CfnPredefinedAttribute.go
- CfnPredefinedAttributeProps.go
- CfnPredefinedAttribute_ValuesProperty.go
- CfnPredefinedAttribute__checks.go
- CfnPrompt.go
- CfnPromptProps.go
- CfnPrompt__checks.go
- CfnQueue.go
- CfnQueueProps.go
- CfnQueue_OutboundCallerConfigProperty.go
- CfnQueue__checks.go
- CfnQuickConnect.go
- CfnQuickConnectProps.go
- CfnQuickConnect_PhoneNumberQuickConnectConfigProperty.go
- CfnQuickConnect_QueueQuickConnectConfigProperty.go
- CfnQuickConnect_QuickConnectConfigProperty.go
- CfnQuickConnect_UserQuickConnectConfigProperty.go
- CfnQuickConnect__checks.go
- CfnRoutingProfile.go
- CfnRoutingProfileProps.go
- CfnRoutingProfile_CrossChannelBehaviorProperty.go
- CfnRoutingProfile_MediaConcurrencyProperty.go
- CfnRoutingProfile_RoutingProfileQueueConfigProperty.go
- CfnRoutingProfile_RoutingProfileQueueReferenceProperty.go
- CfnRoutingProfile__checks.go
- CfnRule.go
- CfnRuleProps.go
- CfnRule_ActionsProperty.go
- CfnRule_CreateCaseActionProperty.go
- CfnRule_EventBridgeActionProperty.go
- CfnRule_FieldProperty.go
- CfnRule_FieldValueProperty.go
- CfnRule_NotificationRecipientTypeProperty.go
- CfnRule_ReferenceProperty.go
- CfnRule_RuleTriggerEventSourceProperty.go
- CfnRule_SendNotificationActionProperty.go
- CfnRule_SubmitAutoEvaluationActionProperty.go
- CfnRule_TaskActionProperty.go
- CfnRule_UpdateCaseActionProperty.go
- CfnRule__checks.go
- CfnSecurityKey.go
- CfnSecurityKeyProps.go
- CfnSecurityKey__checks.go
- CfnSecurityProfile.go
- CfnSecurityProfileProps.go
- CfnSecurityProfile_ApplicationProperty.go
- CfnSecurityProfile__checks.go
- CfnTaskTemplate.go
- CfnTaskTemplateProps.go
- CfnTaskTemplate_ConstraintsProperty.go
- CfnTaskTemplate_DefaultFieldValueProperty.go
- CfnTaskTemplate_FieldIdentifierProperty.go
- CfnTaskTemplate_FieldProperty.go
- CfnTaskTemplate_InvisibleFieldInfoProperty.go
- CfnTaskTemplate_ReadOnlyFieldInfoProperty.go
- CfnTaskTemplate_RequiredFieldInfoProperty.go
- CfnTaskTemplate__checks.go
- CfnTrafficDistributionGroup.go
- CfnTrafficDistributionGroupProps.go
- CfnTrafficDistributionGroup__checks.go
- CfnUser.go
- CfnUserHierarchyGroup.go
- CfnUserHierarchyGroupProps.go
- CfnUserHierarchyGroup__checks.go
- CfnUserHierarchyStructure.go
- CfnUserHierarchyStructureProps.go
- CfnUserHierarchyStructure_LevelFiveProperty.go
- CfnUserHierarchyStructure_LevelFourProperty.go
- CfnUserHierarchyStructure_LevelOneProperty.go
- CfnUserHierarchyStructure_LevelThreeProperty.go
- CfnUserHierarchyStructure_LevelTwoProperty.go
- CfnUserHierarchyStructure_UserHierarchyStructureProperty.go
- CfnUserHierarchyStructure__checks.go
- CfnUserProps.go
- CfnUser_UserIdentityInfoProperty.go
- CfnUser_UserPhoneConfigProperty.go
- CfnUser_UserProficiencyProperty.go
- CfnUser__checks.go
- CfnView.go
- CfnViewProps.go
- CfnViewVersion.go
- CfnViewVersionProps.go
- CfnViewVersion__checks.go
- CfnView__checks.go
- main.go