Skip to content

Commit 9ad94d5

Browse files
committed
Additional Tidies
1 parent 74b074b commit 9ad94d5

File tree

18 files changed

+75
-517
lines changed

18 files changed

+75
-517
lines changed

Snowflake-Database-Database/.rpdk-config

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"endpoint_url": null,
1616
"region": null,
1717
"target_schemas": [],
18-
"useDocker": true,
18+
"useDocker": false,
1919
"protocolVersion": "2.0.0"
2020
}
2121
}

Snowflake-Database-Database/docs/README.md

-11
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,3 @@ _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormati
9090
### Ref
9191

9292
When you pass the logical ID of this resource to the intrinsic `Ref` function, Ref returns the Name.
93-
94-
### Fn::GetAtt
95-
96-
The `Fn::GetAtt` intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
97-
98-
For more information about using the `Fn::GetAtt` intrinsic function, see [Fn::GetAtt](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt.html).
99-
100-
#### Database
101-
102-
Returns the <code>Database</code> value.
103-

Snowflake-Database-Database/snowflake-database-database.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@
6464
"createOnlyProperties": [
6565
"/properties/Name"
6666
],
67-
"readOnlyProperties": [
68-
"/properties/Database"
67+
"writeOnlyProperties": [
68+
"/properties/MaxDataExtensionTimeInDays",
69+
"/properties/DefaultDdlCollation"
6970
],
7071
"primaryIdentifier": [
7172
"/properties/Name"

Snowflake-User-User/docs/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Snowflake::User::User
22

3-
An example resource schema demonstrating some basic constructs and validation rules.
3+
Allows for the creation and modification of a Snowflake User. https://docs.snowflake.com/en/user-guide/admin-user-management.html
44

55
## Syntax
66

docs/dev/README.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# cloudformation-fastly
2+
3+
## Set up local type configuration
4+
5+
When running contract or SAM tests locally, the resources expect the Fastly token to be available via the type configuration.
6+
Executing this in the console from the project root will add it. Replace the values inside the __square__ brackets with the actual values for testing
7+
```bash
8+
cat << EOF >> ~/.cfn-cli/typeConfiguration.json
9+
{
10+
"SnowflakeAccess": {
11+
"Account": "[snowflakeAccount]",
12+
"Username": "[snowflakeUsername]",
13+
"Password": "[snowflakePassword]"
14+
}
15+
}
16+
EOF
17+
```

docs/user/generated/resources/Snowflake-Database-Database/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Snowflake::Database::Database
22

3-
An example resource schema demonstrating some basic constructs and validation rules.
3+
Allows for the creation and modification of a Snowflake Database. https://docs.snowflake.com/en/user-guide/databases.html
44

55
## Syntax
66

@@ -16,7 +16,7 @@ To declare this entity in your AWS CloudFormation template, use the following sy
1616
"<a href="#dataretentiontimeindays" title="DataRetentionTimeInDays">DataRetentionTimeInDays</a>" : <i>Integer</i>,
1717
"<a href="#maxdataextensiontimeindays" title="MaxDataExtensionTimeInDays">MaxDataExtensionTimeInDays</a>" : <i>Integer</i>,
1818
"<a href="#defaultddlcollation" title="DefaultDdlCollation">DefaultDdlCollation</a>" : <i>String</i>,
19-
"<a href="#comment" title="Comment">Comment</a>" : <i>String</i>,
19+
"<a href="#comment" title="Comment">Comment</a>" : <i>String</i>
2020
}
2121
}
2222
</pre>

docs/user/generated/resources/Snowflake-Database-Database/database.md

-80
This file was deleted.

docs/user/generated/resources/Snowflake-Database-Grant/README.md

+2-14
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Snowflake::Database::Grant
22

3-
An example resource schema demonstrating some basic constructs and validation rules.
3+
Allows privileges to be granted on a database to a role. https://docs.snowflake.com/en/sql-reference/sql/grant-privilege.html
44

55
## Syntax
66

@@ -14,7 +14,7 @@ To declare this entity in your AWS CloudFormation template, use the following sy
1414
"Properties" : {
1515
"<a href="#databasename" title="DatabaseName">DatabaseName</a>" : <i>String</i>,
1616
"<a href="#privilege" title="Privilege">Privilege</a>" : <i>String</i>,
17-
"<a href="#role" title="Role">Role</a>" : <i>String</i>,
17+
"<a href="#role" title="Role">Role</a>" : <i>String</i>
1818
}
1919
}
2020
</pre>
@@ -55,15 +55,3 @@ _Type_: String
5555

5656
_Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)
5757

58-
## Return Values
59-
60-
### Fn::GetAtt
61-
62-
The `Fn::GetAtt` intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
63-
64-
For more information about using the `Fn::GetAtt` intrinsic function, see [Fn::GetAtt](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt.html).
65-
66-
#### DatabaseGrant
67-
68-
Returns the <code>DatabaseGrant</code> value.
69-

docs/user/generated/resources/Snowflake-Database-Grant/databasegrant.md

-50
This file was deleted.

docs/user/generated/resources/Snowflake-Role-Grant/README.md

+2-14
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Snowflake::Role::Grant
22

3-
An example resource schema demonstrating some basic constructs and validation rules.
3+
Allows privileges to be granted on a role to a user. https://docs.snowflake.com/en/sql-reference/sql/grant-privilege.html
44

55
## Syntax
66

@@ -13,7 +13,7 @@ To declare this entity in your AWS CloudFormation template, use the following sy
1313
"Type" : "Snowflake::Role::Grant",
1414
"Properties" : {
1515
"<a href="#rolename" title="RoleName">RoleName</a>" : <i>String</i>,
16-
"<a href="#user" title="User">User</a>" : <i>String</i>,
16+
"<a href="#user" title="User">User</a>" : <i>String</i>
1717
}
1818
}
1919
</pre>
@@ -45,15 +45,3 @@ _Type_: String
4545

4646
_Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)
4747

48-
## Return Values
49-
50-
### Fn::GetAtt
51-
52-
The `Fn::GetAtt` intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
53-
54-
For more information about using the `Fn::GetAtt` intrinsic function, see [Fn::GetAtt](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt.html).
55-
56-
#### RoleGrant
57-
58-
Returns the <code>RoleGrant</code> value.
59-

docs/user/generated/resources/Snowflake-Role-Grant/rolegrant.md

-40
This file was deleted.

docs/user/generated/resources/Snowflake-User-User/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Snowflake::User::User
22

3-
An example resource schema demonstrating some basic constructs and validation rules.
3+
Allows for the creation and modification of a Snowflake User. https://docs.snowflake.com/en/user-guide/admin-user-management.html
44

55
## Syntax
66

@@ -29,7 +29,7 @@ To declare this entity in your AWS CloudFormation template, use the following sy
2929
"<a href="#minstobypassmfa" title="MinsToBypassMfa">MinsToBypassMfa</a>" : <i>Integer</i>,
3030
"<a href="#rsapublickey" title="RsaPublicKey">RsaPublicKey</a>" : <i>String</i>,
3131
"<a href="#rsapublickey2" title="RsaPublicKey2">RsaPublicKey2</a>" : <i>String</i>,
32-
"<a href="#comment" title="Comment">Comment</a>" : <i>String</i>,
32+
"<a href="#comment" title="Comment">Comment</a>" : <i>String</i>
3333
}
3434
}
3535
</pre>

0 commit comments

Comments
 (0)