# \[AWS::Connect::Instance\] Add `AutomatedInteractionLog` to Attributes

Đang mở
#2,575 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
64/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
aws
Lĩnh vực
cloud

Hướng nghiên cứu

Start with the AWS::Connect::Instance Attributes property and compare its supported boolean attributes with the AWS Connect UpdateInstanceAttribute API and CLI documentation linked in the issue. The work is done when AutomatedInteractionLog is accepted as a boolean alongside the existing attributes and the resource behavior and documentation reflect that support.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Coverage
Name of the resource

Other

Resource name

AWS::Connect::Instance

Description

The AWS::Connect::Instance resource's Attributes property does not support the AutomatedInteractionLog attribute, even though the Connect API and CLI already support it.

API support (works):

aws connect update-instance-attribute \
  --instance-id <instance-id> \
  --attribute-type AUTOMATED_INTERACTION_LOG \
  --value true \
  --region us-west-2

CloudFormation (fails):

Resources:
  ConnectInstance:
    Type: AWS::Connect::Instance
    Properties:
      IdentityManagementType: CONNECT_MANAGED
      InstanceAlias: my-instance
      Attributes:
        InboundCalls: true
        OutboundCalls: true
        AutomatedInteractionLog: true  # ← Not recognized

Error:

Properties validation failed for resource ConnectInstance with message:
#/Attributes: extraneous key [AutomatedInteractionLog] is not permitted

Affected Resource(s)

  • AWS::Connect::Instance — Attributes property

Expected Behavior

AutomatedInteractionLog should be a supported boolean property on AWS::Connect::Instance Attributes, matching the existing pattern of InboundCalls, OutboundCalls, ContactflowLogs, ContactLens, EarlyMedia, etc.

Current Workaround

Use a CloudFormation Custom Resource (Lambda-backed) to call UpdateInstanceAttribute post-creation:

import boto3
connect = boto3.client('connect')
connect.update_instance_attribute(
    InstanceId=instance_id,
    AttributeType='AUTOMATED_INTERACTION_LOG',
    Value='true'
)

This workaround adds operational complexity and drift risk since the attribute isn't tracked by the CFN stack.

References

Other Details

No response

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
1.1k
Fork
62
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của aws-cloudformation/cloudformation-coverage-roadmap

Tất cả issue của aws-cloudformation/cloudformation-coverage-roadmap

Issue tương tự

Thêm issue về Cloud

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.