Class: AWSCDK::Connect::CfnSecurityProfile::ApplicationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnSecurityProfile::ApplicationProperty
- Defined in:
- connect/cfn_security_profile.rb
Overview
This API is in preview release for Amazon Connect and is subject to change.
A third-party application's metadata.
Instance Attribute Summary collapse
-
#application_permissions ⇒ Array<String>
readonly
The permissions that the agent is granted on the application.
-
#namespace ⇒ String
readonly
Namespace of the application that you want to give access to.
-
#type ⇒ String?
readonly
The type of the application.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(application_permissions:, namespace:, type: nil) ⇒ ApplicationProperty
constructor
A new instance of ApplicationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(application_permissions:, namespace:, type: nil) ⇒ ApplicationProperty
Returns a new instance of ApplicationProperty.
683 684 685 686 687 688 689 690 |
# File 'connect/cfn_security_profile.rb', line 683 def initialize(application_permissions:, namespace:, type: nil) @application_permissions = Jsii::Type.check_type(@application_permissions, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "applicationPermissions") @namespace = namespace Jsii::Type.check_type(@namespace, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "namespace") @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") unless @type.nil? end |
Instance Attribute Details
#application_permissions ⇒ Array<String> (readonly)
The permissions that the agent is granted on the application.
For third-party applications, only the ACCESS permission is supported. For MCP Servers, the permissions are tool Identifiers accepted by MCP Server.
698 699 700 |
# File 'connect/cfn_security_profile.rb', line 698 def @application_permissions end |
#namespace ⇒ String (readonly)
Namespace of the application that you want to give access to.
703 704 705 |
# File 'connect/cfn_security_profile.rb', line 703 def namespace @namespace end |
#type ⇒ String? (readonly)
The type of the application.
708 709 710 |
# File 'connect/cfn_security_profile.rb', line 708 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
710 711 712 713 714 715 716 |
# File 'connect/cfn_security_profile.rb', line 710 def self.jsii_properties { :application_permissions => "applicationPermissions", :namespace => "namespace", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
718 719 720 721 722 723 724 725 726 |
# File 'connect/cfn_security_profile.rb', line 718 def to_jsii result = {} result.merge!({ "applicationPermissions" => @application_permissions, "namespace" => @namespace, "type" => @type, }) result.compact end |