robhan-cdk-lib.aws-grafana 0.0.33__py3-none-any.whl → 0.0.34__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- robhan_cdk_lib/aws_grafana/__init__.py +17 -40
- robhan_cdk_lib/aws_grafana/_jsii/__init__.py +2 -2
- robhan_cdk_lib/aws_grafana/_jsii/aws_grafana@0.0.34.jsii.tgz +0 -0
- {robhan_cdk_lib_aws_grafana-0.0.33.dist-info → robhan_cdk_lib_aws_grafana-0.0.34.dist-info}/METADATA +1 -1
- robhan_cdk_lib_aws_grafana-0.0.34.dist-info/RECORD +9 -0
- robhan_cdk_lib/aws_grafana/_jsii/aws_grafana@0.0.33.jsii.tgz +0 -0
- robhan_cdk_lib_aws_grafana-0.0.33.dist-info/RECORD +0 -9
- {robhan_cdk_lib_aws_grafana-0.0.33.dist-info → robhan_cdk_lib_aws_grafana-0.0.34.dist-info}/LICENSE +0 -0
- {robhan_cdk_lib_aws_grafana-0.0.33.dist-info → robhan_cdk_lib_aws_grafana-0.0.34.dist-info}/WHEEL +0 -0
- {robhan_cdk_lib_aws_grafana-0.0.33.dist-info → robhan_cdk_lib_aws_grafana-0.0.34.dist-info}/top_level.txt +0 -0
@@ -1039,6 +1039,7 @@ class VpcConfiguration:
|
|
1039
1039
|
"account_access_type": "accountAccessType",
|
1040
1040
|
"authentication_providers": "authenticationProviders",
|
1041
1041
|
"permission_type": "permissionType",
|
1042
|
+
"workspace_arn": "workspaceArn",
|
1042
1043
|
"client_token": "clientToken",
|
1043
1044
|
"data_sources": "dataSources",
|
1044
1045
|
"description": "description",
|
@@ -1052,8 +1053,6 @@ class VpcConfiguration:
|
|
1052
1053
|
"saml_configuration": "samlConfiguration",
|
1053
1054
|
"stack_set_name": "stackSetName",
|
1054
1055
|
"vpc_configuration": "vpcConfiguration",
|
1055
|
-
"workspace_arn": "workspaceArn",
|
1056
|
-
"workspace_id": "workspaceId",
|
1057
1056
|
},
|
1058
1057
|
)
|
1059
1058
|
class WorkspaceAttributes:
|
@@ -1063,6 +1062,7 @@ class WorkspaceAttributes:
|
|
1063
1062
|
account_access_type: AccountAccessType,
|
1064
1063
|
authentication_providers: typing.Sequence[AuthenticationProviders],
|
1065
1064
|
permission_type: PermissionTypes,
|
1065
|
+
workspace_arn: builtins.str,
|
1066
1066
|
client_token: typing.Optional[builtins.str] = None,
|
1067
1067
|
data_sources: typing.Optional[typing.Sequence[builtins.str]] = None,
|
1068
1068
|
description: typing.Optional[builtins.str] = None,
|
@@ -1076,13 +1076,12 @@ class WorkspaceAttributes:
|
|
1076
1076
|
saml_configuration: typing.Optional[typing.Union[SamlConfiguration, typing.Dict[builtins.str, typing.Any]]] = None,
|
1077
1077
|
stack_set_name: typing.Optional[builtins.str] = None,
|
1078
1078
|
vpc_configuration: typing.Optional[typing.Union[VpcConfiguration, typing.Dict[builtins.str, typing.Any]]] = None,
|
1079
|
-
workspace_arn: typing.Optional[builtins.str] = None,
|
1080
|
-
workspace_id: typing.Optional[builtins.str] = None,
|
1081
1079
|
) -> None:
|
1082
1080
|
'''
|
1083
1081
|
:param account_access_type: Specifies whether the workspace can access AWS resources in this AWS account only, or whether it can also access AWS resources in other accounts in the same organization. If this is ORGANIZATION, the OrganizationalUnits parameter specifies which organizational units the workspace can access. Required field.
|
1084
1082
|
:param authentication_providers: Specifies whether this workspace uses SAML 2.0, AWS IAM Identity Center, or both to authenticate users for using the Grafana console within a workspace. Required field.
|
1085
1083
|
:param permission_type: If this is SERVICE_MANAGED, and the workplace was created through the Amazon Managed Grafana console, then Amazon Managed Grafana automatically creates the IAM roles and provisions the permissions that the workspace needs to use AWS data sources and notification channels. If this is CUSTOMER_MANAGED, you must manage those roles and permissions yourself. If you are working with a workspace in a member account of an organization and that account is not a delegated administrator account, and you want the workspace to access data sources in other AWS accounts in the organization, this parameter must be set to CUSTOMER_MANAGED. Required field.
|
1084
|
+
:param workspace_arn: The arn of this workspace.
|
1086
1085
|
:param client_token: A unique, case-sensitive, user-provided identifier to ensure the idempotency of the request. Must be 1-64 characters long and contain only printable ASCII characters.
|
1087
1086
|
:param data_sources: Specifies the AWS data sources that have been configured to have IAM roles and permissions created to allow Amazon Managed Grafana to read data from these sources. This list is only used when the workspace was created through the AWS console, and the permissionType is SERVICE_MANAGED.
|
1088
1087
|
:param description: The user-defined description of the workspace. Maximum length of 2048 characters.
|
@@ -1096,8 +1095,6 @@ class WorkspaceAttributes:
|
|
1096
1095
|
:param saml_configuration: If the workspace uses SAML, use this structure to map SAML assertion attributes to workspace user information and define which groups in the assertion attribute are to have the Admin and Editor roles in the workspace.
|
1097
1096
|
:param stack_set_name: The name of the AWS CloudFormation stack set that is used to generate IAM roles to be used for this workspace.
|
1098
1097
|
:param vpc_configuration: The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to.
|
1099
|
-
:param workspace_arn: The arn of this workspace. Either this or the workspaceId must be provided.
|
1100
|
-
:param workspace_id: The unique ID of this workspace. Either this or the workspaceArn must be provided.
|
1101
1098
|
'''
|
1102
1099
|
if isinstance(network_access_control, dict):
|
1103
1100
|
network_access_control = NetworkAccessControl(**network_access_control)
|
@@ -1110,6 +1107,7 @@ class WorkspaceAttributes:
|
|
1110
1107
|
check_type(argname="argument account_access_type", value=account_access_type, expected_type=type_hints["account_access_type"])
|
1111
1108
|
check_type(argname="argument authentication_providers", value=authentication_providers, expected_type=type_hints["authentication_providers"])
|
1112
1109
|
check_type(argname="argument permission_type", value=permission_type, expected_type=type_hints["permission_type"])
|
1110
|
+
check_type(argname="argument workspace_arn", value=workspace_arn, expected_type=type_hints["workspace_arn"])
|
1113
1111
|
check_type(argname="argument client_token", value=client_token, expected_type=type_hints["client_token"])
|
1114
1112
|
check_type(argname="argument data_sources", value=data_sources, expected_type=type_hints["data_sources"])
|
1115
1113
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
@@ -1123,12 +1121,11 @@ class WorkspaceAttributes:
|
|
1123
1121
|
check_type(argname="argument saml_configuration", value=saml_configuration, expected_type=type_hints["saml_configuration"])
|
1124
1122
|
check_type(argname="argument stack_set_name", value=stack_set_name, expected_type=type_hints["stack_set_name"])
|
1125
1123
|
check_type(argname="argument vpc_configuration", value=vpc_configuration, expected_type=type_hints["vpc_configuration"])
|
1126
|
-
check_type(argname="argument workspace_arn", value=workspace_arn, expected_type=type_hints["workspace_arn"])
|
1127
|
-
check_type(argname="argument workspace_id", value=workspace_id, expected_type=type_hints["workspace_id"])
|
1128
1124
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
1129
1125
|
"account_access_type": account_access_type,
|
1130
1126
|
"authentication_providers": authentication_providers,
|
1131
1127
|
"permission_type": permission_type,
|
1128
|
+
"workspace_arn": workspace_arn,
|
1132
1129
|
}
|
1133
1130
|
if client_token is not None:
|
1134
1131
|
self._values["client_token"] = client_token
|
@@ -1156,10 +1153,6 @@ class WorkspaceAttributes:
|
|
1156
1153
|
self._values["stack_set_name"] = stack_set_name
|
1157
1154
|
if vpc_configuration is not None:
|
1158
1155
|
self._values["vpc_configuration"] = vpc_configuration
|
1159
|
-
if workspace_arn is not None:
|
1160
|
-
self._values["workspace_arn"] = workspace_arn
|
1161
|
-
if workspace_id is not None:
|
1162
|
-
self._values["workspace_id"] = workspace_id
|
1163
1156
|
|
1164
1157
|
@builtins.property
|
1165
1158
|
def account_access_type(self) -> AccountAccessType:
|
@@ -1201,6 +1194,13 @@ class WorkspaceAttributes:
|
|
1201
1194
|
assert result is not None, "Required property 'permission_type' is missing"
|
1202
1195
|
return typing.cast(PermissionTypes, result)
|
1203
1196
|
|
1197
|
+
@builtins.property
|
1198
|
+
def workspace_arn(self) -> builtins.str:
|
1199
|
+
'''The arn of this workspace.'''
|
1200
|
+
result = self._values.get("workspace_arn")
|
1201
|
+
assert result is not None, "Required property 'workspace_arn' is missing"
|
1202
|
+
return typing.cast(builtins.str, result)
|
1203
|
+
|
1204
1204
|
@builtins.property
|
1205
1205
|
def client_token(self) -> typing.Optional[builtins.str]:
|
1206
1206
|
'''A unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
@@ -1306,24 +1306,6 @@ class WorkspaceAttributes:
|
|
1306
1306
|
result = self._values.get("vpc_configuration")
|
1307
1307
|
return typing.cast(typing.Optional[VpcConfiguration], result)
|
1308
1308
|
|
1309
|
-
@builtins.property
|
1310
|
-
def workspace_arn(self) -> typing.Optional[builtins.str]:
|
1311
|
-
'''The arn of this workspace.
|
1312
|
-
|
1313
|
-
Either this or the workspaceId must be provided.
|
1314
|
-
'''
|
1315
|
-
result = self._values.get("workspace_arn")
|
1316
|
-
return typing.cast(typing.Optional[builtins.str], result)
|
1317
|
-
|
1318
|
-
@builtins.property
|
1319
|
-
def workspace_id(self) -> typing.Optional[builtins.str]:
|
1320
|
-
'''The unique ID of this workspace.
|
1321
|
-
|
1322
|
-
Either this or the workspaceArn must be provided.
|
1323
|
-
'''
|
1324
|
-
result = self._values.get("workspace_id")
|
1325
|
-
return typing.cast(typing.Optional[builtins.str], result)
|
1326
|
-
|
1327
1309
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
1328
1310
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
1329
1311
|
|
@@ -2039,6 +2021,7 @@ class Workspace(
|
|
2039
2021
|
account_access_type: AccountAccessType,
|
2040
2022
|
authentication_providers: typing.Sequence[AuthenticationProviders],
|
2041
2023
|
permission_type: PermissionTypes,
|
2024
|
+
workspace_arn: builtins.str,
|
2042
2025
|
client_token: typing.Optional[builtins.str] = None,
|
2043
2026
|
data_sources: typing.Optional[typing.Sequence[builtins.str]] = None,
|
2044
2027
|
description: typing.Optional[builtins.str] = None,
|
@@ -2052,8 +2035,6 @@ class Workspace(
|
|
2052
2035
|
saml_configuration: typing.Optional[typing.Union[SamlConfiguration, typing.Dict[builtins.str, typing.Any]]] = None,
|
2053
2036
|
stack_set_name: typing.Optional[builtins.str] = None,
|
2054
2037
|
vpc_configuration: typing.Optional[typing.Union[VpcConfiguration, typing.Dict[builtins.str, typing.Any]]] = None,
|
2055
|
-
workspace_arn: typing.Optional[builtins.str] = None,
|
2056
|
-
workspace_id: typing.Optional[builtins.str] = None,
|
2057
2038
|
) -> IWorkspace:
|
2058
2039
|
'''
|
2059
2040
|
:param scope: -
|
@@ -2061,6 +2042,7 @@ class Workspace(
|
|
2061
2042
|
:param account_access_type: Specifies whether the workspace can access AWS resources in this AWS account only, or whether it can also access AWS resources in other accounts in the same organization. If this is ORGANIZATION, the OrganizationalUnits parameter specifies which organizational units the workspace can access. Required field.
|
2062
2043
|
:param authentication_providers: Specifies whether this workspace uses SAML 2.0, AWS IAM Identity Center, or both to authenticate users for using the Grafana console within a workspace. Required field.
|
2063
2044
|
:param permission_type: If this is SERVICE_MANAGED, and the workplace was created through the Amazon Managed Grafana console, then Amazon Managed Grafana automatically creates the IAM roles and provisions the permissions that the workspace needs to use AWS data sources and notification channels. If this is CUSTOMER_MANAGED, you must manage those roles and permissions yourself. If you are working with a workspace in a member account of an organization and that account is not a delegated administrator account, and you want the workspace to access data sources in other AWS accounts in the organization, this parameter must be set to CUSTOMER_MANAGED. Required field.
|
2045
|
+
:param workspace_arn: The arn of this workspace.
|
2064
2046
|
:param client_token: A unique, case-sensitive, user-provided identifier to ensure the idempotency of the request. Must be 1-64 characters long and contain only printable ASCII characters.
|
2065
2047
|
:param data_sources: Specifies the AWS data sources that have been configured to have IAM roles and permissions created to allow Amazon Managed Grafana to read data from these sources. This list is only used when the workspace was created through the AWS console, and the permissionType is SERVICE_MANAGED.
|
2066
2048
|
:param description: The user-defined description of the workspace. Maximum length of 2048 characters.
|
@@ -2074,8 +2056,6 @@ class Workspace(
|
|
2074
2056
|
:param saml_configuration: If the workspace uses SAML, use this structure to map SAML assertion attributes to workspace user information and define which groups in the assertion attribute are to have the Admin and Editor roles in the workspace.
|
2075
2057
|
:param stack_set_name: The name of the AWS CloudFormation stack set that is used to generate IAM roles to be used for this workspace.
|
2076
2058
|
:param vpc_configuration: The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to.
|
2077
|
-
:param workspace_arn: The arn of this workspace. Either this or the workspaceId must be provided.
|
2078
|
-
:param workspace_id: The unique ID of this workspace. Either this or the workspaceArn must be provided.
|
2079
2059
|
'''
|
2080
2060
|
if __debug__:
|
2081
2061
|
type_hints = typing.get_type_hints(_typecheckingstub__3998e8138348ba3fd0198ea857bd0357c9ffc4806dd420f1974b384d9116186f)
|
@@ -2085,6 +2065,7 @@ class Workspace(
|
|
2085
2065
|
account_access_type=account_access_type,
|
2086
2066
|
authentication_providers=authentication_providers,
|
2087
2067
|
permission_type=permission_type,
|
2068
|
+
workspace_arn=workspace_arn,
|
2088
2069
|
client_token=client_token,
|
2089
2070
|
data_sources=data_sources,
|
2090
2071
|
description=description,
|
@@ -2098,8 +2079,6 @@ class Workspace(
|
|
2098
2079
|
saml_configuration=saml_configuration,
|
2099
2080
|
stack_set_name=stack_set_name,
|
2100
2081
|
vpc_configuration=vpc_configuration,
|
2101
|
-
workspace_arn=workspace_arn,
|
2102
|
-
workspace_id=workspace_id,
|
2103
2082
|
)
|
2104
2083
|
|
2105
2084
|
return typing.cast(IWorkspace, jsii.sinvoke(cls, "fromWorkspaceAttributes", [scope, id, attrs]))
|
@@ -2361,6 +2340,7 @@ def _typecheckingstub__c7b2f7e0bca3214d1d530a9824b09f4187fa0fc3d9bc0a9db3801c372
|
|
2361
2340
|
account_access_type: AccountAccessType,
|
2362
2341
|
authentication_providers: typing.Sequence[AuthenticationProviders],
|
2363
2342
|
permission_type: PermissionTypes,
|
2343
|
+
workspace_arn: builtins.str,
|
2364
2344
|
client_token: typing.Optional[builtins.str] = None,
|
2365
2345
|
data_sources: typing.Optional[typing.Sequence[builtins.str]] = None,
|
2366
2346
|
description: typing.Optional[builtins.str] = None,
|
@@ -2374,8 +2354,6 @@ def _typecheckingstub__c7b2f7e0bca3214d1d530a9824b09f4187fa0fc3d9bc0a9db3801c372
|
|
2374
2354
|
saml_configuration: typing.Optional[typing.Union[SamlConfiguration, typing.Dict[builtins.str, typing.Any]]] = None,
|
2375
2355
|
stack_set_name: typing.Optional[builtins.str] = None,
|
2376
2356
|
vpc_configuration: typing.Optional[typing.Union[VpcConfiguration, typing.Dict[builtins.str, typing.Any]]] = None,
|
2377
|
-
workspace_arn: typing.Optional[builtins.str] = None,
|
2378
|
-
workspace_id: typing.Optional[builtins.str] = None,
|
2379
2357
|
) -> None:
|
2380
2358
|
"""Type checking stubs"""
|
2381
2359
|
pass
|
@@ -2459,6 +2437,7 @@ def _typecheckingstub__3998e8138348ba3fd0198ea857bd0357c9ffc4806dd420f1974b384d9
|
|
2459
2437
|
account_access_type: AccountAccessType,
|
2460
2438
|
authentication_providers: typing.Sequence[AuthenticationProviders],
|
2461
2439
|
permission_type: PermissionTypes,
|
2440
|
+
workspace_arn: builtins.str,
|
2462
2441
|
client_token: typing.Optional[builtins.str] = None,
|
2463
2442
|
data_sources: typing.Optional[typing.Sequence[builtins.str]] = None,
|
2464
2443
|
description: typing.Optional[builtins.str] = None,
|
@@ -2472,8 +2451,6 @@ def _typecheckingstub__3998e8138348ba3fd0198ea857bd0357c9ffc4806dd420f1974b384d9
|
|
2472
2451
|
saml_configuration: typing.Optional[typing.Union[SamlConfiguration, typing.Dict[builtins.str, typing.Any]]] = None,
|
2473
2452
|
stack_set_name: typing.Optional[builtins.str] = None,
|
2474
2453
|
vpc_configuration: typing.Optional[typing.Union[VpcConfiguration, typing.Dict[builtins.str, typing.Any]]] = None,
|
2475
|
-
workspace_arn: typing.Optional[builtins.str] = None,
|
2476
|
-
workspace_id: typing.Optional[builtins.str] = None,
|
2477
2454
|
) -> None:
|
2478
2455
|
"""Type checking stubs"""
|
2479
2456
|
pass
|
Binary file
|
@@ -0,0 +1,9 @@
|
|
1
|
+
robhan_cdk_lib/aws_grafana/__init__.py,sha256=DgslsbKZEQSfa_h8K_i9uaEmsbdgQBGrR-1-5CPdT1Q,130258
|
2
|
+
robhan_cdk_lib/aws_grafana/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
3
|
+
robhan_cdk_lib/aws_grafana/_jsii/__init__.py,sha256=JB4SGsWNcA2KNMy3Fi7p5xG-4sJ9KdvhJUCB3LLDl7o,1464
|
4
|
+
robhan_cdk_lib/aws_grafana/_jsii/aws_grafana@0.0.34.jsii.tgz,sha256=vUrlWU8jS8WkPKbnSN3QitJdqbo_vQXeC9H95GTgNyQ,61645
|
5
|
+
robhan_cdk_lib_aws_grafana-0.0.34.dist-info/LICENSE,sha256=4XPjxtvMDZSu-9820NaFomMw08Ri6JrgByiDz0XZhDY,1060
|
6
|
+
robhan_cdk_lib_aws_grafana-0.0.34.dist-info/METADATA,sha256=_ZxqPPMzzvY1MwswAqdhe2AVMI6CBgnKwpSiCHEGJFQ,2842
|
7
|
+
robhan_cdk_lib_aws_grafana-0.0.34.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
8
|
+
robhan_cdk_lib_aws_grafana-0.0.34.dist-info/top_level.txt,sha256=P6XdVCMOK2Rt55vMQhnq4WJqpu14FeZZcktc4hoDIwI,15
|
9
|
+
robhan_cdk_lib_aws_grafana-0.0.34.dist-info/RECORD,,
|
Binary file
|
@@ -1,9 +0,0 @@
|
|
1
|
-
robhan_cdk_lib/aws_grafana/__init__.py,sha256=hmXMOsUHXnkqRld3WZwFyJNQoM6lbBH6S9zN0GcQUwY,131584
|
2
|
-
robhan_cdk_lib/aws_grafana/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
3
|
-
robhan_cdk_lib/aws_grafana/_jsii/__init__.py,sha256=NU8gYkJvRYm3bE4JMYKt9DD07AZcXupKsg9pumz-v-Q,1464
|
4
|
-
robhan_cdk_lib/aws_grafana/_jsii/aws_grafana@0.0.33.jsii.tgz,sha256=0alPwOQo-0PKtTko-jyJSAHdeJIINlJ1t-vkSM-G_Ac,62309
|
5
|
-
robhan_cdk_lib_aws_grafana-0.0.33.dist-info/LICENSE,sha256=4XPjxtvMDZSu-9820NaFomMw08Ri6JrgByiDz0XZhDY,1060
|
6
|
-
robhan_cdk_lib_aws_grafana-0.0.33.dist-info/METADATA,sha256=qoTVMrKj2j8MwslgJY7ClB59R3UAnMclHhd7MECFVlQ,2842
|
7
|
-
robhan_cdk_lib_aws_grafana-0.0.33.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
8
|
-
robhan_cdk_lib_aws_grafana-0.0.33.dist-info/top_level.txt,sha256=P6XdVCMOK2Rt55vMQhnq4WJqpu14FeZZcktc4hoDIwI,15
|
9
|
-
robhan_cdk_lib_aws_grafana-0.0.33.dist-info/RECORD,,
|
{robhan_cdk_lib_aws_grafana-0.0.33.dist-info → robhan_cdk_lib_aws_grafana-0.0.34.dist-info}/LICENSE
RENAMED
File without changes
|
{robhan_cdk_lib_aws_grafana-0.0.33.dist-info → robhan_cdk_lib_aws_grafana-0.0.34.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|