Class: AWSCDK::Connect::CfnSecurityProfile::ApplicationProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(application_permissions:, namespace:, type: nil) ⇒ ApplicationProperty

Returns a new instance of ApplicationProperty.

Parameters:

  • application_permissions (Array<String>)

    The permissions that the agent is granted on the application.

  • namespace (String)

    Namespace of the application that you want to give access to.

  • type (String, nil) (defaults to: nil)

    The type of the application.



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 = 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_permissionsArray<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
  @application_permissions
end

#namespaceString (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

#typeString? (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_propertiesObject



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_jsiiObject



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